-
Notifications
You must be signed in to change notification settings - Fork 59
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
2.1.0 build 发布求助 #67
Comments
都有哪些类型错误?这个类型错误和Genesis没有什么关系才对。 |
src/utils/request.ts:130:42 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'. 130 const index = window._paiApiLists.indexOf( src/utils/request.ts:133:28 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'. 133 window._paiApiLists.splice(index, 1); src/utils/request.ts:134:32 - error TS2339: Property '_paiApiLists' does not exist on type 'Window & typeof globalThis'. 134 if (window._paiApiLists.length <= 0) { src/utils/request.ts:135:32 - error TS2339: Property '_elloading' does not exist on type 'Window & typeof globalThis'. 135 window._elloading.close(); src/utils/request.ts:136:32 - error TS2339: Property '_elloading' does not exist on type 'Window & typeof globalThis'. 136 window._elloading = null; src/utils/request.ts:139:37 - error TS2339: Property 'noLogin' does not exist on type 'AxiosRequestConfig'. |
genesis 编译的时候不会执行类型检查的。 |
1.x的时候很多没有严格按照ts来写,本来也不打算用的。
现在2.x很多编译不通过,能不能把这个禁掉吗?
The text was updated successfully, but these errors were encountered: