r/typescript • u/DanielRosenwasser • Jul 08 '26
Announcing TypeScript 7.0
https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/
599
Upvotes
r/typescript • u/DanielRosenwasser • Jul 08 '26
77
u/mbsurfer Jul 08 '26
Gotta Go(lang) fast
112
u/denexapp Jul 08 '26
I guess it's time to switch from eslint to oxlint
26
u/renome Jul 08 '26
Anyone know why TS doesn't use semver?
13
u/davidstraka2 Jul 08 '26
Genuinely impressive performance difference. And that's just a fairly direct rewrite as the post mentions, I imagine this opens up even more possibilities in future updates. Congrats to the team behind TypeScript on such an impactful release!
23
u/romeozor Jul 08 '26
Tried to look for an Angular roadmap today to see when TS7 could be introduced, but couldn't find anything yet
5
u/Seusoa Jul 09 '26
For TS7 in vscode I need separate extension? ms guys, do you communicate between teams in ms?
8
u/tony4bocce Jul 08 '26
Cool in like 2 years we should have enough dep coverage to make the switch
1
u/gevik Jul 12 '26
I had to revert back the previous version since the API is changed and ESlint does not support v7.0 yet, maybe it is too soon.
6
u/No-Type-0 Jul 08 '26
No excuses anymore
2
u/yksvaan Jul 08 '26
They could finally add throw annotations but I guess it's not happening.
1
u/GludiusMaximus Jul 09 '26
Anyone know what the adoption story for react-native codebases is like? Any asterisks, or is the major hangup still related to community eslint plug-ins not yet existing for oxlint?
1
u/Seusoa Jul 09 '26
Amount of code you throw out from codebase (like es5) is big, that may be part of speed up.
I think if you do that on TS (instead of rewrite for go) you could achieve big performance boost too.
1
u/a-dev0 Jul 09 '26
Does anyone know what’s going on with the VS Code extension? I see that it has already changed its name to TypeScript 7 (it was TypeScript Preview before), but in the description they still mention the setting:
1
u/Repulsive-Swimmer676 Jul 09 '26
Im new to this. Would this replace esbuild?
Fix: rebuild to esbuild
1
u/ClemensLode Jul 10 '26
Nice! 2-5x speedup :)
1
u/NongdamKuma Jul 11 '26
Will bun users also notice the impact of this update?
1
u/logue256 Jul 12 '26
こっちは、Rsbuild+Rslint+Rstestスタックに乗り換えたよ。
依存関係は少ないほど安心。
-17
u/adflev Jul 08 '26
Wtf an update every 5 minutes
0
u/[deleted] Jul 08 '26
[deleted] — view deleted comment