-
-
Notifications
You must be signed in to change notification settings - Fork 47.5k
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
tsc error with typescript@2.1 #4208
Comments
这个是没问题。 |
发现是 https://github.com/lozinsky/typescript-babel-jest 依赖了 typescript@2.1。然后使用 tnpm 安装时,antd-tools 优先使用了 2.1 版本导致报错。 我们需要优先适配下 2.1.4? |
这个 |
配置 |
@yiminghe 这个问题我也想不通。
|
配置 preserve ,估计是保留给 babel-presets-react 来处理 |
使用babel的各种plugins,如果typescript直接编译出来的话就不需要babel了。 |
但是就算提前把 |
2.1.x 正式发布了 https://github.com/Microsoft/TypeScript/releases/tag/v2.1.4 其实搞不懂 TypeScript 的版本号规则。。 |
😭 |
好像beta的时候版本也会递增,跟webpack一样 |
antd 依赖的 TypeScript 升级到 2.1.x 了。 @yesmeck typescript-babel-jest 的问题,有必要的话,另起一个 issue 记录。 |
splitObject 可以去掉了。 |
antd-mobile 谁来帮忙升级下 |
已去。 |
@warmhug antd-mobile 升级 antd-tools 的话,还要处理 tslint 的问题吧。。 |
lint 规则先忽略掉 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
And travis is ok.
The text was updated successfully, but these errors were encountered: