TypeScript 7.0: the compiler in Go and what it means for projects

On 8 July 2026 Microsoft released TypeScript 7.0, the first release built on a new codebase in Go. According to Microsoft, the compiler is typically 8 to 12 times faster than TypeScript 6.0 on full builds. In practice, though, one sentence from the announcement matters most: TypeScript 7.0 does not ship with a programmatic API. Tools that embed TypeScript therefore keep running on TypeScript 6.0 for now, including Vue, Astro and Svelte. If you want to adopt TypeScript 7, move to TypeScript 6.0 first, fix its deprecations and then check which tools in your project need an API.

What is TypeScript 7.0?

TypeScript 7.0 is a native port of the existing compiler to Go. According to Microsoft, the port was done as faithfully as possible, keeping the structure and logic of the original codebase so that both compilers produce consistent results. What is new is native code, shared memory multithreading and a number of additional optimisations.

The beta came out on 21 April 2026, the release candidate on 18 June 2026. According to Microsoft, TypeScript 6.0 from 23 March 2026 was the last release based on the previous JavaScript codebase and was explicitly meant as the bridge between 5.9 and 7.0. TypeScript 7 is installed via npm as before:

npm install -D typescript

That gives you the new tsc in your project.

How much faster is the compiler?

For full builds Microsoft cites a typical speedup of 8x to 12x and backs it with measurements on large open source projects, taken on the same machine with the default of four type-checkers. One example: the VS Code codebase took 125.7 seconds with TypeScript 6 and 10.6 seconds with TypeScript 7, a factor of 11.9. For the other projects in the table the factor lies between 7.7 and 8.9. Memory use over a build also dropped in every listed case, by 6 to 26 percent depending on the project.

In the editor the difference is similar according to Microsoft: in the VS Code codebase it previously took about 17.5 seconds from opening the editor to seeing the first error, and with TypeScript 7 it takes under 1.3 seconds.

These are Microsoft’s own measurements, and Microsoft itself writes that results will differ across projects and machines. Only your own measurement tells you more.

What do the new flags control?

TypeScript 7.0 parses, type-checks and emits in parallel. For type-checking, the compiler creates a fixed number of workers, four by default. The --checkers flag changes that number. More workers can speed up large projects but cost more memory. On machines with fewer cores and less memory, Microsoft names CI runners as an example, a lower number can make sense. In rare cases a different number of checkers may surface order-dependent results. According to Microsoft, a fixed number across build environments helps ensure everyone gets the same results.

--builders controls how many project references are built at once under --build. That mainly helps monorepos but multiplies with --checkers. --singleThreaded disables parallelisation entirely, for example for debugging or in environments with very limited resources. --checkers and --builders are marked as experimental.

What changes in the code?

TypeScript 7.0 is made to be compatible with TypeScript 6.0’s type-checking and command-line behaviour. According to Microsoft, practically any code that compiles cleanly with TypeScript 6.0, with stableTypeOrdering on and without ignoreDeprecations set, should compile identically in 7.0. At the same time, 7.0 adopts 6.0’s new defaults and turns everything 6.0 deprecated into hard errors.

The changed defaults include strict: true, module: esnext, rootDir: ./ and types: [], among others. Microsoft considers the last two the most surprising, but they are easy to mitigate. If your tsconfig.json sits outside src, set rootDir explicitly. If you rely on global declarations, list the packages under types:

{
  "compilerOptions": {
    "rootDir": "./src",
    "types": ["node", "jest"]
  },
  "include": ["./src"]
}

No longer supported are, among others, target: es5, downlevelIteration, baseUrl, moduleResolution: node (that is node10) and classic, as well as the module formats amd, umd, systemjs and none.

Why do you still need TypeScript 6.0 for now?

TypeScript 7.0 has no API. Microsoft expects a new, different API with TypeScript 7.1. Until then, both versions are meant to run side by side, so that tools like typescript-eslint, which access the compiler programmatically, keep working. That is what the @typescript/typescript6 package is for. It ships an executable named tsc6 and re-exports the TypeScript 6.0 API. Because tools like typescript-eslint import directly from typescript, Microsoft recommends npm aliases:

{
  "devDependencies": {
    "@typescript/native": "npm:typescript@^7.0.2",
    "typescript": "npm:@typescript/typescript6@^6.0.2"
  }
}

With that, npx tsc runs TypeScript 7.0, while other tools keep using the 6.0 API.

The situation is even clearer for embedded languages. According to Microsoft, workflows with Vue, MDX, Astro, Svelte and similar tools will likely not yet be able to use TypeScript 7, because tools such as Volar embed TypeScript into their own compilers and language services and need a stable API for that. These projects have to stay on TypeScript 6.0 for now. For Angular, Microsoft suggests a combination: TypeScript 7 for fast error detection with tsc on the command line and TypeScript 6.0 for editor support.

This affects me directly. I work a lot with TypeScript in Nuxt and Vue, plus Angular, React and StencilJS. For the Vue projects that means TypeScript 6.0 stays for now. For Angular, the combination can pay off for checks on the command line.

What does it mean for the editor?

The new language service is built on the Language Server Protocol and is meant to work in any modern editor. For VS Code there is a dedicated extension that becomes the default once installed and can be switched off and on again with the commands “Disable TypeScript 7 Language Server” and “Enable TypeScript 7 Language Server”. Support is meant to ship as part of VS Code itself in the coming weeks. According to Microsoft, Visual Studio enables TypeScript 7 automatically based on the workspace. Microsoft’s data shows over 80 percent fewer failing language server commands than with TypeScript 6.0, and server crashes dropped by over 60 percent.

How do I approach it?

  • Move to TypeScript 6.0 first and fix all deprecations. Microsoft explicitly recommends this, because 7.0 no longer supports the options that 6.0 only tolerates with ignoreDeprecations.
  • Turn on stableTypeOrdering in 6.0. The flag aligns type ordering with 7.0 and makes differences between the two versions visible.
  • Check which tools need the TypeScript API: typescript-eslint, Vue, Astro, Svelte, Angular templates. TypeScript 6.0 stays for them, for typescript-eslint via @typescript/typescript6.
  • Measure build times before and after and tune --checkers to your CI runners, instead of adopting Microsoft’s factors.
  • For Vue, Astro and Svelte projects, wait for TypeScript 7.1 and the announced API.

All articles

Legal Notice

DIGITALPASSION Ltd.

Tassou Papadopoulou 16
House 2
8270 Tremithousa, Cyprus
Email:
info@kevin-damiani.de
Register Number:
HE 454538
Represented by:
Kevin Damiani
VAT ID:
CY60039739L

IT Liability Insurance

exali AG
Franz-Kobinger-Str. 9, 86157 Augsburg

Dispute Resolution

We are not willing or obliged to participate in dispute resolution proceedings before a consumer arbitration board.

Liability for Content

As a service provider, we are responsible for our own content on these pages in accordance with general laws. However, liability is only possible from the time of knowledge of a specific infringement.

Copyright

The content and works created by the site operators on these pages are subject to German copyright law. Downloads and copies of this site are only permitted for private, non-commercial use.

Privacy Policy

The protection of your personal data is important to us. This privacy policy informs you about the processing of personal data on this website and in the iPad app DrawBook (see DrawBook).

Data Controller

Responsible for data processing on this website and in the DrawBook app is:

DIGITALPASSION Ltd.
Tassou Papadopoulou 16, House 2, 8270 Tremithousa, Cyprus
Email: info@kevin-damiani.de

Hosting

This website runs on our own server at Hostinger International Limited, 61 Lordou Vironos Street, 6023 Larnaca, Cyprus, in the data center in Frankfurt am Main; Hostinger processes the data on our behalf (Art. 28 GDPR). To deliver the page, our web server processes your IP address, the time, the page viewed and the referring page, and your browser identifier. It keeps no access log; it passes page views on only in shortened form for web analytics (see Web Analytics). If it cannot deliver the page, it writes an error line with the time, the page viewed and the referring page (both without parameters after the "?"), your browser identifier and your IP address shortened to the first 24 bits (IPv4) or 48 bits (IPv6). These lines are overwritten continuously: we keep at most 30 MB of them, and older ones are dropped as new ones arrive, so there is no period in days. In addition, Hostinger backs up the whole server once a week in a data center in Lithuania and keeps the two most recent backups. The legal basis is our legitimate interest in providing the website securely and reliably (Art. 6(1)(f) GDPR). You are not obliged to provide this data; without the transmission of your IP address, however, the website cannot be delivered.

Cookies and local storage

This website does not set any cookies and stores nothing in your browser's storage (neither localStorage nor sessionStorage). No identifiers for recognizing you are stored on your device, and there are no entries from third parties; how we count visits is described under Web Analytics.

Web Analytics

So that we know how often this website is visited, where visitors come from and which language version they read, our web server (see Hosting) evaluates each successfully loaded page view. No script runs in your browser for this, no cookies are set and nothing is read from or stored on your device. If your browser sends the Global Privacy Control or Do Not Track signal, the page view is not counted. It shortens the IP address (for IPv4 without the last byte, for IPv6 only the first 48 bits) and passes it on, together with the time, the page viewed, the referring page (both without parameters after the "?"), the browser identifier and the name of this website, to our own analytics software Umami, which runs on the same server (see Hosting). It does not pass on other details of the request, such as the language setting, and it writes no log in doing so. Umami stores neither the IP address nor the browser identifier, but derives browser, operating system and device type as well as country, region and city from them, plus page, referrer and time. It groups page views into visits using an identifier calculated from the shortened address, the browser identifier and a secret key that changes every day; page views from different days therefore cannot be linked. Umami does not count page views from recognizable bots. Umami deletes the data after 363 days. Backups are stored encrypted on a server we run ourselves in Cyprus and mirrored from there to storage in Germany that we also run ourselves; no copy is older than 400 days. We do not pass the data on to third parties. The legal basis is our legitimate interest in knowing the reach of the website and improving it (Art. 6(1)(f) GDPR); you can object under Art. 21 GDPR (see Your Rights), most easily by turning on Global Privacy Control or Do Not Track in your browser.

Fonts

This website uses locally hosted fonts (self-hosting). No connections are made to external servers such as Google Fonts.

Contact

If you contact us by email, your information will be stored for processing the request and for possible follow-up questions. We receive and store emails with our processor Fastmail Pty Ltd, Australia; there is no adequacy decision of the European Commission for Australia, so the transfer is based on the EU Standard Contractual Clauses in Fastmail's data processing agreement (available at fastmail.com/policies/dpa). Beyond that, we will not share this data without your consent. The legal basis is Art. 6(1)(b) GDPR if your request aims at concluding or performing a contract, otherwise our legitimate interest in answering it (Art. 6(1)(f) GDPR). We delete the data once the request has been dealt with, unless statutory retention obligations apply. Providing your information is voluntary; without an email address we cannot reply to you.

DrawBook

DrawBook is a free note-taking and drawing app for iPad that DIGITALPASSION Ltd. offers on the App Store. We run no server for DrawBook: we receive neither your notebooks nor your AI requests or API keys. The app needs no DrawBook account, and it contains no analytics, no advertising and no tracking.

Notebooks, drawings, typed text and imported PDF pages stay on your device, in the app's protected storage, and are excluded from automatic device backups. If you export or share something, you decide where the copy goes. Deleting the app also deletes its notebooks.

You can also use the AI chat "Drawing AI". It only works with your own API key for OpenRouter, Ollama Cloud, Anthropic (Claude) or OpenAI; the app stores the key in your device's Keychain. Nothing is sent until you tap "Activate" under "AI configuration" and confirm the dialog that follows. This consent applies to the selected provider, model and image setting, and the app checks it before and after every request. "Deactivate" withdraws it, and "Remove Saved API Key" deletes the key.

Requests go over HTTPS directly from your device to the selected provider (openrouter.ai, ollama.com, api.anthropic.com or api.openai.com). They contain your prompt, the recent conversation and a summary of the page. When the AI reads the page, editable objects such as typed text and shapes are added, along with handwriting recognized on your device and the coordinates of your strokes. If "Send Page as Image to AI" is on (off by default), the AI can also request an image of the page, including an imported PDF background. OpenRouter may forward a request to the actual model provider.

DIGITALPASSION does not receive this data. The app transfers it only with your consent (Art. 6(1)(a) GDPR) to the provider, which processes it under its own terms as an independent controller. How long the provider keeps it is set by its terms; you exercise your rights regarding data it has already received with the provider. DrawBook keeps the chat history only in memory, and "New thread" clears it. We answer privacy questions about DrawBook at info@kevin-damiani.de.

Your Rights

You have the right to:

  • Information about your stored data (Art. 15 GDPR)
  • Correction of inaccurate data (Art. 16 GDPR)
  • Deletion of your data (Art. 17 GDPR)
  • Restriction of processing (Art. 18 GDPR)
  • Data portability, where processing is based on consent or a contract and carried out by automated means (Art. 20 GDPR)
  • Withdrawal of consent given, at any time and with effect for the future (Art. 7(3) GDPR)

In case of complaints, you can contact the responsible data protection supervisory authority (Art. 77 GDPR).

Right to object

Where we process data on the basis of legitimate interests (Art. 6(1)(f) GDPR), you can object at any time on grounds relating to your particular situation (Art. 21 GDPR). An informal email is sufficient.

SSL Encryption

This website uses SSL encryption for security reasons. You can recognize an encrypted connection by the lock symbol in your browser's address bar.

Changes

We reserve the right to adapt this privacy policy to changes in the law or in the service.

Last updated: November 2026