@nuxt/typescript-build@2.0.4
版本发布时间: 2021-01-16 22:13:56
nuxt/typescript最新发布版本:@nuxt/typescript-runtime@3.0.2(2023-11-17 04:15:40)
Dependencies
- Upgrade to TypeScript 4.1
- Upgrade fork-ts-checker-webpack-plugin :
^5.2.0
->^6.1.0
- Upgrade ts-loader :
^8.0.4
->^8.0.14
TypeScript 4.1
You may have type issues you need to fix while upgrading.
For example a common one is for void Promises you need to explicitly type the return type of the Promise :
new Promise<void>()
instead of
new Promise()
Anyway, your IDE & type checker will tell you what's going wrong and you'll be able to quick fix it !