[]升级到1.78beta版后,包编译错误

tsc
    
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: num
ber, offsetX?: number, offsetY?: nu...'.
      Types of parameters 'mipMap' and 'offsetX' are incompatible.
        Type 'number' is not assignable to type 'boolean'.
 
已邀请:

Monica - 知识达人

赞同来自:

前边两个错不用管,是没有用到的引擎库没删掉,下个版本就删了。
下边这个错我们这边没遇到,是不是你项目中报的呢?或者上传一个有问题的例子,我们看下!

要回复问题请先

商务合作
商务合作