TypeScript 7.0 Beta Is Here, And It's Really Fast
Big news dropping today: TypeScript 7.0 Beta just landed, and it's not just another incremental update. This one's special.
The TypeScript team has been quietly rebuilding the compiler from the ground up, porting the entire codebase to Go. The result? 🤯 Up to 10x faster builds in many real-world projects. Yes, really.
Why Should You Care?
Let's cut to the chase: if you work on a large TypeScript codebase, you've felt the pain of slow type-checking, sluggish editor feedback, or CI pipelines that take forever. TypeScript 7.0 tackles this head-on with:
- Parallelization by default: Parsing, type-checking, and emitting now run across multiple threads.
- Smart worker pools: Configurable
--checkersand--buildersflags let you tune performance for your machine or CI environment. - Single-threaded mode: Need to debug or compare?
--singleThreadedhas you covered. - Editor speed boosts: The TypeScript Native Preview extension for VS Code brings the same performance gains to your daily coding flow.
Wait, Is This a Breaking Change?
Not really, TypeScript 7.0 maintains structural parity with 6.0's type-checking logic. If your code compiles cleanly in 6.0 (with stableTypeOrdering on), it should behave identically in 7.0.
That said, 7.0 adopts 6.0's new defaults:
strict: trueby default 🔒module: esnext📦targetdefaults to the latest stable ECMAScript versionrootDirandtypesbehavior tweaks (easy to adjust intsconfig.json)
Some deprecated flags from 6.0 now throw hard errors (looking at you, moduleResolution: node), so it's a good nudge to modernize your config if you haven't already.
JavaScript Support Got a Refresh Too
The team reworked how .js files with JSDoc are analyzed to align more closely with .ts behavior. A few notable shifts:
@enumisn't magic anymore: use@typedefwithkeyof typeof- Closure-style function syntax is out; TypeScript shorthands are in
- Standalone
?as a type? Nope: useany
It's a small but meaningful step toward consistency. Check the CHANGES.md for the full diff.
How to Try It Right Now
Getting started is easy:
npm install -D @typescript/native-preview@beta
npx tsgo --version
Then just swap tsc → tsgo in your scripts. For editor support, grab the TypeScript Native Preview extension in VS Code. It's stable, fast, and respects your existing settings.
💡 Pro tip: Use npm aliases to run TS 6 and 7 side-by-side during migration:
"devDependencies": {
"typescript": "npm:@typescript/typescript6@^6.0.0"
}
What's Next?
The team is polishing:
- A more efficient
--watchmode - Full parity for JS declaration emit
- Minor editor feature gaps (think: granular import commands)
A stable release is expected within the next two months, with a release candidate dropping a few weeks prior. Now's the perfect time to test it on your projects and share feedback.
Final Thoughts
TypeScript 7.0 isn't just faster, it's a glimpse into a more scalable, maintainable future for the tooling we rely on every day. The Go rewrite shows serious commitment to performance without sacrificing correctness. And the fact that major teams at Figma, Notion, Vercel, and more are already using pre-release builds? That's confidence you can trust.
So go ahead — give it a spin. Break things. Report bugs. Cheer when your build time drops from 45s to 4s. 🎉
Source: Official TypeScript blog post by Daniel Rosenwasser. Full link and detailed changelog in the comments 👇

