Jump to content
  • Microsoft releases TypeScript 7.0, and it's 10x faster than the previous version

    Karlston

    • 96 views
    • 3 minutes
     Share


    • 96 views
    • 3 minutes

    TypeScript 7.0 is finally here, bringing major speed boosts and workflow improvements that developers should notice from day one.

    Back in March 2026, Microsoft released TypeScript 6.0, its implementation of the JavaScript programming language that introduces static typing. Although it contained a few new features, it mostly focused on cleanups to prep for the release of TypeScript 7.0. Well, the good news is that after months of previewing this version with developers, Microsoft has now released it publicly, and its 10x faster than TypeScript 6.0 in a key metric, as previously promised.

     

    Code editors like Visual Studio Code, Visual Studio, and WebStorm easily support TypeScript 7.0 out-of-the-box. Microsoft has touted performance benefits across a lot of workflows, which have now been streamlined. These include loading the project, auto-completion, initiating a find-all-references trigger, and diagnostics.

     

    Microsoft has also stated that it has extensively tested TypeScript 7.0 to ensure that it is production-ready. During the preview phase, internal and external feedback was "overwhelmingly positive" too. That said, Microsoft has clarified that TypeScript 7.0 does not come with an API, but it can work side-by-side with TypeScript 6.0 for compatibility scenarios. The new API will land with TypeScript 7.1.

     

    In terms of new features, TypeScript 7.0 brings:

     

     

    Compile times for large open source codebases loaded in TypeScript 7.0 were almost 12x faster compared to TypeScript 6.0 in one particular instance. Other results are documented below:

     

    Codebase TypeScript 6.0 TypeScript 7.0 Speedup
    vscode (2.3M LoC) 125.7s 10.6s

    11.9x

    sentry (1.9M LoC) 139.8s 15.7s 8.9x
    bluesky (628K LoC) 24.3s 2.8s 8.7x
    playwright (528K LoC) 12.8s 1.47s 8.7x
    tldraw (345K LoC) 11.2s 1.46s 7.7x

     

    Additionally, aggregate memory usage over the span of a build reduced significantly too, as tabulated below:

     

    Codebase TypeScript 6.0 TypeScript 7.0 Memory Delta
    vscode (2.3M LoC) 5,2GB 4.2GB -18%
    sentry (1.9M LoC) 4.9GB 4.6GB -6%
    bluesky (628K LoC) 1.8GB 1.3GB -26%
    playwright (528K LoC) 1.0GB 0.9GB -11%
    tldraw (345K LoC) 0.6GB 0.5GB -15%

     

    Similarly, getting to the first error in a file that has just been opened in an editor should be much faster too. In Visual Studio Code, Microsoft noted this to be 1.3 seconds, compared to 17.5 seconds in the previous release, making this a 13x performance boost.

     

    You can get TypeScript 7.0 through the Node Package Manager (npm) with the following command:

    npm install -D typescript

    Nightly builds previewing the next versions of TypeScript can be installed with the following command:

    npm install -D typescript@next

    Looking forward, Microsoft plans to add new features, improve performance further, release an updated API, and more. You can expect it to land in a few months.

     

    Source


    Hope you enjoyed this news post. Feedback welcome.

    Posted Thursday 9 July 2026 at 7:54 am AEST (my time).

    News posts: 2023 5,800+ | 2024 5,700+ | 2025 5,700+ | 2026 (to end of June) 2,475

    RIP Matrix


    User Feedback

    Recommended Comments

    There are no comments to display.



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...