1
我收到以下警告:Closure Compiler Externs - 参数 - 警告 - 错误的类型注释。由于类型未承认语法错误
js/lib/pixi-externs.js:848: WARNING - Bad type annotation. type not recognized due to syntax error
* @param {Array.|Array.|...PIXI.Point|...number} points
^
这里是实习医生的完整产品线的文件,涉及到上面的警告:
* @param {Array.<PIXI.Point>|Array.<number>|...PIXI.Point|...number} points
我在做什么错这里? 应将...PIXI.Point
和...number
包裹在(
)
?