Progress on TypeScript 7 – December 2025
devblogs.microsoft.com
Progress on TypeScript 7 – December 2025
1–10 of 38 posts
Re: Progress on TypeScript 7 – December 2025
#2Re: Progress on TypeScript 7 – December 2025
#3Re: Progress on TypeScript 7 – December 2025
#4stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
Re: Progress on TypeScript 7 – December 2025
#5stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
Re: Progress on TypeScript 7 – December 2025
#6stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
Re: Progress on TypeScript 7 – December 2025
#7stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
1. Chrome/v8 takes TS code, compiles it down to JS internally, erases types, and then runs it like normal. This isn't going to be too hard to do, but also isn't going to be very meaningful. Compiling is a one-step process in any case, and plenty of tooling exists to make it seamless.
2. Chrome/v8 actually understands TS types at runtime, and throws exceptions for mismatches. This isn't going to be possible without a major rewrite of the v8 engine and the ECMAScript spec itself.
And a big challenge for both of these is that TypeScript is iterating at too fast a pace for something like Chrome to keep up. It's best to just leave versioning and compilation for the developer to manage and give end users a consistent JavaScript experience.
Re: Progress on TypeScript 7 – December 2025
#8Re: Progress on TypeScript 7 – December 2025
#9stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
Different projects use different versions of typescript with different configurations, and almost no one wants the client to throw type errors where the untyped code would have actually worked. I.e. the are drawbacks but no advantages. This is ongoing standardisation work to allow it to _ignore_ typescript and just run the JavaScript which will be nice but not a huge win.
That’s not how TypeScript works. You execute it after erasing the types.
Re: Progress on TypeScript 7 – December 2025
#10stupid question: why doesnt google chrome support native typescript execution on their chromium engine?
There's effort towards "erasable syntax" but in practice not many really want to run anything more than basic TS in the browser, simply because you lose things like 'import _ from "lodash", which requires further setup (import maps) or is impractical in larger projects.
The real reason however is that TS is just a language, not part of any standard, and browsers are not just going to support random languages headed by corporations (Microsoft) and that are not community projects.