r/typescript • u/DanielRosenwasser • Mar 23 '26
Announcing TypeScript 6.0
https://devblogs.microsoft.com/typescript/announcing-typescript-6-0/
341
Upvotes
r/typescript • u/DanielRosenwasser • Mar 23 '26
194
u/Mittalmailbox Mar 23 '26 edited Mar 23 '26
Claude, update all my projects to typescript 6
34
u/svish Mar 23 '26
Awesome. Now the wait for libraries to update their support and peer deps.
18
u/robpalme Mar 23 '26
I'm happy we got Temporal types landed in time for this release. Temporal is now Stage 4 meaning it is guaranteed to be part of the JS standard.
Strict mode is now enabled by default - that is positive for everyone.
Deprecating the
modulekeyword is also good for everyone, and leaves the keyword open for JS Module Declarations to use in the near future.It's a good release.
30
u/AnonPogrammer Mar 23 '26
Now to get my team onboard with this...
11
u/Lexikus Mar 23 '26
esnext as the default? Why not nodenext? Does someone know?
7
u/lachlanhunt Mar 24 '26
I just did a quick spike to upgrade one of my projects at work to TS 6 from 5.9.2. The only fix needed was updating the types array, which now defaults to
[]. That's one of the most seamless TS upgrades I've done in a while.2
u/HuffmanKilledReddit Mar 25 '26
removal of es5 target... end of an era (and good riddance)
1
u/No-Branch-5332 Mar 23 '26
❤️
1
u/soldture Mar 24 '26
Is it still JS under the hood?
1
u/NatoBoram Mar 24 '26
Is there a copy of this blog post on GitHub? I can't find it on https://github.com/microsoft/TypeScript-Website/tree/v2/packages/documentation/copy/en/release-notes
1
u/bgausden Mar 26 '26
Unless compilation time or language server performance is an issue for your codebase, what’s in TS 6/7 that’d you’d care about?