-
Notifications
You must be signed in to change notification settings - Fork 3
一些类型修改 #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
一些类型修改 #54
Conversation
release: JavaScript@v2.15.0
release: JavaScript@v2.16.3
release: JavaScript@v2.17.0
fix(GuiAPI): text has no declared type
typescript项目编译失败: platforms/javascript/src/EventAPI/EntityEvents.d.ts(3,14): error TS2567: Enum declarations can only merge with namespace or other enum declarations. platforms/javascript/src/GameAPI/Basic/types.d.ts(7,20): error TS2567: Enum declarations can only merge with namespace or other enum declarations. |
有个多余的定义,修了 |
null改为undefined,参考 ScriptX 各种值类型
引擎未定义枚举改为const enum,这样在编译时会被内联为枚举值