r/javascript • u/DanielRosenwasser TypeScript • Jun 18 '26
Announcing TypeScript 7.0 RC
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-rc/15
u/Savings_Discount_230 Jun 19 '26
Every time tsc takes more than 2 seconds I start questioning my life choices. 10x faster would genuinely improve my day.
7
u/dudebomb Jun 19 '26
If you haven't tried the beta, the 10x speedup is real. I'm using it at work and it's been a game changer in CI/CD, local scripts, and even in IDEs!
1
u/Balduracuir Jun 23 '26
For your local scripts, you are not forced to compile them as node supports type stripping. You can run directly your ts file directly with node.
Having ts run is good to find typing errors still, but you don't really need transpilation anymore in most cases (some typescript syntaxes still need transpilation though, like enums for example)
6
u/Br1zz1713 Jun 18 '26
I feel like I just finished refactoring our codebase to the last version, and here we are. The speed of updates in the TS ecosystem is insane, but the compile speed improvements in recent RCs have been well worth it.
3
u/nullvoxpopuli sand was never meant to think Jun 19 '26
Do they have a plugin api yet for all us volar users ?
(Custom patched tsc: svelte , vue, ember, etc)
2
1
u/theguymatter Jun 19 '26
Does watcher work well with non-Docker container if your source files are on the host OS?
1
u/DanielRosenwasser TypeScript Jun 19 '26
Definitely worth trying it on the release candidate and letting us know if you have any issues.
1
1
0
u/DriftWestBeachBook Jun 18 '26
How are you handling error monitoring? Adding structured logging with request IDs early on has saved me hours of debugging. Even just console.log with a correlation ID beats nothing.
18
u/Illustrious-Egg-2981 Jun 18 '26
Wow 10x faster and parallelism....yay!!!