Back to blog

TypeScript 7: Microsoft Reveals Native Port Progress With 10x Faster Performance

Hello HaWkers, if you work with JavaScript or TypeScript, get ready for one of the biggest changes in the language's history. Microsoft just published a significant update on the progress of TypeScript 7, codenamed "Corsa", and the numbers are impressive.

Can you imagine your editor loading TypeScript projects in seconds instead of minutes? That's what the native port promises to deliver. Let's understand what's happening.

What's Happening with TypeScript 7

The TypeScript team at Microsoft is working on a complete port of the compiler to native code. This means TypeScript will no longer run on Node.js, but as a native binary on your operating system.

The Impressive Numbers

Native Port Performance:

  • Load time: 10x faster
  • Memory usage: 50-70% lower
  • Editor responsiveness: Significantly better
  • Incremental builds: Almost instant

The difference is so significant that projects that took 30 seconds to load in the editor now load in 3 seconds or less.

December 2025 News

Microsoft's latest announcement brings important updates on the port's status:

Now Available Features

The language service, which is the part of TypeScript that powers your editor, now has the following features implemented in the native port:

  1. Auto-imports: Automatic import suggestions working
  2. Find-all-references: Find all references to a symbol
  3. Rename: Rename variables, functions, and types safely
  4. Go-to-definition: Navigate to any symbol's definition
  5. Hover information: Information when hovering over code

These were the features many developers were waiting for before trying the native previews. Now they're ready for day-to-day use.

What's Still in Development

Some features are still being ported:

  • Advanced refactorings
  • More complex code actions
  • Some plugin integrations
  • Full project references support

How to Test Today

If you want to experiment with native TypeScript right now, you can. Microsoft has made previews available that work well for most use cases.

Preview Installation

# Install the TypeScript preview version
npm install -g typescript@next

# In an existing project
npm install typescript@next --save-dev

# Check the version
tsc --version

VS Code Configuration

To use the preview in VS Code, add to your settings.json:

{
  "typescript.tsdk": "node_modules/typescript/lib",
  "typescript.enablePromptUseWorkspaceTsdk": true
}

Impact For Developers

The shift to native code will transform how we work with TypeScript in several ways.

Immediate Benefits

For small projects:

  • More responsive editor
  • Less system resource usage
  • Better experience on modest machines

For large projects (monorepos):

  • Drastic reduction in initialization time
  • Ability to work with more projects simultaneously
  • Significantly faster CI/CD builds

Practical Performance Example

Consider a typical monorepo with 50 TypeScript packages:

Metric Current TS (Node.js) TS 7 (Native)
Initial load time 45s 4s
Memory usage 2.5GB 800MB
Time to first autocomplete 3s 0.3s
Full build 120s 15s

These numbers come from Microsoft's internal benchmarks and may vary depending on the project.

API Changes

One important thing: TypeScript 7/Corsa will not support the existing Strada API. This means tools that depend on TypeScript's programmatic API will need to adapt.

What This Means For Tools

// Old API (Strada) - WILL NOT WORK IN TS7
import * as ts from 'typescript';

const program = ts.createProgram(['file.ts'], {});
const checker = program.getTypeChecker();

// Tools will need to migrate to the new Corsa API
// The new API is still under development

Tools that will need to adapt:

  • ESLint with @typescript-eslint
  • Prettier (partially)
  • ts-morph and other AST manipulation libraries
  • Bundlers like esbuild, swc (partially)

TypeScript in 2025: The Complete Picture

TypeScript has consolidated as an industry standard. According to recent data:

Adoption in 2025

  • 92% of new JavaScript projects use TypeScript
  • Major companies (Microsoft, Google, Facebook) publicly endorse it
  • Modern frameworks (Next.js, Nuxt, SvelteKit) have TypeScript as default

Why TypeScript Dominated

TypeScript's dominance didn't happen by accident:

  1. Type safety: Bugs discovered at compile time
  2. Better DX: Autocomplete, refactoring, inline documentation
  3. Mature ecosystem: Type definitions for virtually everything
  4. AI integration: Copilot and similar tools work better with types
// Example of how TypeScript prevents common bugs
interface User {
  id: number;
  name: string;
  email: string;
  role: 'admin' | 'user' | 'guest';
}

function getAdminUsers(users: User[]): User[] {
  // TypeScript ensures 'role' exists and has one of the expected values
  return users.filter(user => user.role === 'admin');
}

// This would error at compile time:
// getAdminUsers([{ id: 1, name: 'Test' }]); // Error: missing email and role

The Future of TypeScript

With TypeScript 7, Microsoft is preparing the language for the next 10 years of web development.

Trends to Watch

  1. Performance as priority: The native port is just the beginning
  2. Deeper AI integration: Expect better support for AI tools
  3. More expressive types: New type system features under discussion
  4. WebAssembly: Potential direct compilation to WASM

Expected Timeline

  • Q1 2026: TypeScript 7 beta with stable native port
  • Q2 2026: Release candidate
  • Q3-Q4 2026: Official release

Preparing Your Project

If you want to be ready for TypeScript 7, some actions help:

Preparation Checklist

  1. Update your dependencies to versions that will support the new API
  2. Test with previews to identify problems early
  3. Review build scripts that use the TypeScript API directly
  4. Monitor tools you use to see adaptation progress

Conclusion

TypeScript 7 represents a fundamental evolution in how we develop JavaScript applications. The 10x faster performance isn't just an impressive number, it's a real change in day-to-day development.

For developers working with large projects, the difference will be transformative. For smaller projects, the smoother and more responsive experience will improve quality of life.

If you want to master TypeScript and modern JavaScript, I recommend checking out the article WebAssembly and JavaScript: How to Combine for Extreme Performance in 2025 where we explore another way to extract maximum performance from web applications.

Let's go! 🦅

Comments (0)

This article has no comments yet 😢. Be the first! 🚀🦅

Add comments