补充一下,我使用laya1是可以运行ts版本的示例的.
在laya2中创建js项目也可以成功运行
一下是错误信息---------------开始编译
--------------------------------------
[10:29:49] Working directory changed to C:\Program Files (x86)\LayaAirIDE_beta\resources\app
[10:29:49] Using gulpfile ~\Documents\myLaya\myLayaEmpty\.laya\gulpfile.js
[10:29:49] Starting 'default'...
出错了:
TypeScript error: ../../../node_modules/@types/gsap/index.d.ts(6,22): Error TS6053: File '../../../node_modules/@types/gsap/Animation.d.ts' not found.