refactor : prefab code optimization and protection #14885
Annotations
10 errors and 3 warnings
cocos/scene-graph/node.ts#L336
Unsafe argument of type `any` assigned to a parameter of type `Constructor<Component> | AbstractedConstructor<Component>`
|
cocos/scene-graph/node.ts#L336
Unsafe argument of type `any` assigned to a parameter of type `Component[]`
|
cocos/scene-graph/node.ts#L1007
Unsafe argument of type `any` assigned to a parameter of type `Constructor<Component> | AbstractedConstructor<Component>`
|
cocos/scene-graph/node.ts#L1008
Unsafe argument of type `any` assigned to a parameter of type `Constructor<Component>`
|
cocos/scene-graph/node.ts#L1093
Unsafe argument of type `any` assigned to a parameter of type `Constructor<Component> | AbstractedConstructor<Component>`
|
cocos/scene-graph/node.ts#L1147
Unsafe argument of type `any` assigned to a parameter of type `boolean | undefined`
|
cocos/scene-graph/node.ts#L1167
Unsafe argument of type `any` assigned to a parameter of type `boolean | undefined`
|
cocos/scene-graph/node.ts#L1195
Unsafe argument of type `any` assigned to a parameter of type `boolean | undefined`
|
cocos/scene-graph/node.ts#L1248
'unknown' overrides all other types in this union type
|
cocos/scene-graph/node.ts#L1324
Unsafe argument of type `any` assigned to a parameter of type `Node`
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cocos/scene-graph/node.ts#L53
This line has a length of 160. Maximum allowed is 150
|
cocos/scene-graph/node.ts#L294
This line has a length of 159. Maximum allowed is 150
|
The logs for this run have expired and are no longer available.
Loading