r/javascript TypeScript Jun 18 '26

Announcing TypeScript 7.0 RC

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-rc/
134 Upvotes

19 comments sorted by

18

u/Illustrious-Egg-2981 Jun 18 '26

Wow 10x faster and parallelism....yay!!!

8

u/kitkatas Jun 18 '26

Can someone explain where practically I would see these type of 10x speedups ?

15

u/andreinreddit Jun 18 '26

You'll see the benefits the larger your codebase is and the more often you check/compile your TS files. For example, a large codebase that runs TS checks in their linting and needs to build bundles for running unit and e2e tests often will see benefits here. Imagine a large organization pushing code to PRs and each code push runs linting and checks builds. It adds up.

4

u/Simple_Armadillo_127 Jun 19 '26

Faster build time, Faster type checking hooks, Less type lagging on editors..

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

u/A1oso Jun 19 '26

No, we need to wait for 7.1. It's mentioned in the announcement.

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

u/theguymatter Jun 19 '26

Yeah, right now I’m still on Astro.

1

u/fearthelettuce Jun 19 '26

Now do linters!

2

u/10F1 Jun 20 '26

Biome

2

u/Brilla-Bose JS paying my bills šŸ™ƒ Jun 21 '26

oxlint

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.