egret-core icon indicating copy to clipboard operation
egret-core copied to clipboard

fix 修复 tsconfig.json 开启 "noImplicitAny": true 时编译错误的问题。

Open jason-chang opened this issue 5 years ago • 0 comments

修复 tsconfig.json 开启 "noImplicitAny": true 时编译错误的问题。错误示例如下: Error D:/Projects/egret/libs/modules/game/game.d.ts (2422,49): Rest parameter 'arg' implicitly has an 'any[]' type. Error D:/Projects/egret/libs/modules/game/game.d.ts (2466,48): Rest parameter 'arg' implicitly has an 'any[]' type.

jason-chang avatar Sep 04 '19 10:09 jason-chang