[]编译时候报错 如下 怎么解决呢

libs/LayaAir.d.ts(4252,38): error TS2694: Namespace 'laya.d3.core' has no exported member 'particle'.
libs/LayaAir.d.ts(26700,11): error TS2417: Class static side 'typeof RenderTarget2D' incorrectly extends base class static side 'typeof Texture'.
Types of property 'create' are incompatible.
Type '(w: number, h: number, surfaceFormat?: number, surfaceType?: number, depthStencilFormat?: number,...' is not assignable to type '(source: any, x: number, y: number, width: number, height: number, offsetX?: number, offsetY?: nu...'.
Types of parameters 'mipMap' and 'offsetX' are incompatible.
Type 'number' is not assignable to type 'boolean'.
已邀请:

cuixueying

赞同来自:

方便把你报错的例子提供下吗?

要回复问题请先

商务合作
商务合作