[]property 'laya3d' does not exist on type 'typeof laya'

已邀请:

cuixueying

赞同来自:

问题描述不明确,请详细描述下重现步骤!

yang

赞同来自:

laya.laya3d.init(0,0);这行代码中laya3d下面有红色的波浪线,鼠标至上去提示property 'laya3d' does not exist on type 'typeof laya',但是我有在bin下的index.html中添加d3.js,所以我怀疑是版本问题,因为他提示版本不匹配! 全局 tsc (2.3.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误

要回复问题请先

商务合作
商务合作