@nuxt/typescript-build@0.5.1
版本发布时间: 2019-12-12 04:41:54
nuxt/typescript最新发布版本:@nuxt/typescript-runtime@3.0.2(2023-11-17 04:15:40)
Important
- revert: ship & enable TS 3.7 features https://github.com/nuxt/typescript/commit/1d944bea5e8745f0f8ac545fab17b03b675fbbb6
Babel plugins have been removed, it has been found that you need to use es2018 target instead of esnext in your tsconfig.json to have TypeScript 3.7 features.
You may want to add babel plugins back on your own if you think having to use the TypeScript 3.7 features inside Vue templates, but we don't really recommend that as it would make your code hard to be read and shared (for help purpose but also for reusability in non-TS projects).