Releases: nuxt/typescript
@nuxt/[email protected]
Dependencies
- Upgrade to TypeScript 4
- Upgrade fork-ts-checker-webpack-plugin :
^5.0.14
->^5.1.0
, - Upgrade ts-loader :
^8.0.2
->^8.0.3
@nuxt/[email protected]
Fixes
- Fixed an issue when using TSX in
.vue
files (114d69)
Dependencies
- Upgrade to TypeScript 3.9 (#366)
- Upgrade to ForkTsCheckerWebpackPlugin v5 (#391)
- Minor upgrades & lock file maintenance
Breaking changes
ForkTsCheckerWebpackPlugin v5 has changed its options format and dropped Node 8 support.
Follow their documentation if you were customizing options through typescript.typeCheck
module option.
Dropped @nuxt/types
from @nuxt/typescript-build
package, it nows need to be manually installed, documentation has been upgraded.
@nuxt/[email protected]
Breaking change
Following the end of life of Node 8, ts-loader@7
no longer supports Node 8.
@nuxt/typescript-build
has been upgraded to ts-loader@7
, so it also no longer supports Node 8.
@nuxt/[email protected]
- Fix
webpack-hot-middleware
types due to DefinitelyTyped/DefinitelyTyped#43625
@nuxt/[email protected]
@nuxt/[email protected]
@nuxt/[email protected]
- Upgrade TypeScript to 3.8
@nuxt/[email protected]
- Upgrade TypeScript to 3.8
@nuxt/[email protected]
Important
- revert: ship & enable TS 3.7 features 1d944be
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).
@nuxt/[email protected]
This package has been upgraded to TypeScript 3.7 🚀
Check TypeScript 3.7 Release Notes to know what's new !
The best new features so far : Optional Chaining & Nullish Coalescing 😍