-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Today, the TypeScript team published this article: https://devblogs.microsoft.com/typescript/progress-on-typescript-7-december-2025/
which says, among other things:
TypeScript’s native previews are fast, stable, and easy to use today – including in your editor.
--incremental and --build mode are also stable and ready to use. So I think we are at a good point to investigate using this for our systems, including but not necessarily limited to:
- Installing
@typescript/native-previewin perennial/package.json - Setting up WebStorm to point to this version, see https://blog.jetbrains.com/webstorm/2025/08/webstorm-2025-2/
- Changing
grunt type-checkto usetsgo - Making sure it is compatible with
typescript-eslint, seehttps://github.com/typescript-eslint/typescript-eslint/issues/10940
The main reason this is worth our time is performance. In number-pairs/, grunt type-check --clean currently takes about 20 seconds on my very fast MacBook Pro M4 Pro. The TypeScript team has reported numbers that we could be somewhere around 10x faster. Faster support in the IDE would also be very welcome.
A secondary reason to upgrade is that it is nice to stay up-to-date with changes to important parts of our toolchain.
I'll add to developer meeting to see if there is more to discuss, to estimate the effort here, and to prioritize.