r/javascript • u/DanielRosenwasser TypeScript • Feb 11 '26
Announcing TypeScript 6.0 Beta
https://devblogs.microsoft.com/typescript/announcing-typescript-6-0-beta/
254
Upvotes
r/javascript • u/DanielRosenwasser TypeScript • Feb 11 '26
54
u/CommandLionInterface Feb 11 '26 edited Feb 12 '26
I'm always impressed at how clear and easy to follow the explanations of major changes are in these blog posts. I think it's fair to say that most programmers are not used to thinking particularly deeply about their type systems or how they work, but the examples provided do a great job conveying just enough context to understand the motivation
47
u/trappar Feb 11 '26
Looks great! The new tsconfig defaults in particular are a welcome step forward.
38
u/getpodapp Feb 11 '26
One more major till tsgo!
1
u/Risc12 Feb 12 '26
Maybe I don’t understand, but don’t you mean T is inferred to be a number?
22
u/[deleted] Feb 11 '26
A lot of deprecations, no new language syntax. Just the maintenance version despite big number
3
u/yksvaan Feb 12 '26
Throw annotations have been missing for ages, I guess they don't plan to introduce them. Which is crazy, it would be much easier to enforce proper error management in codebases.
1
u/tokagemushi Feb 16 '26
The new tsconfig defaults are a huge quality-of-life improvement. I've lost count of how many times I've had to copy-paste the same strict config across projects. Having sensible defaults out of the box means fewer footgun moments for people starting new projects.
Also excited about the performance improvements heading toward tsgo. Even on mid-sized codebases, tsc can take 10-15 seconds on a cold start — shaving that down would make a noticeable difference in CI pipelines.
1
u/Veraxo1 Feb 16 '26
Shame about the outFile deprecation. For someone dealing with namespaces + outfile in large project, this is a straight up kick in the balls. And there's not a single bundler that you can migrate to with this configuration.
1
u/abovedev Feb 26 '26
Looks interesting)
-5
u/Bobertopia Feb 12 '26
Sick. Now do it in Go
-90
u/[deleted] Feb 11 '26
[removed] — view removed comment