Skip to content

[api-extractor] Upgrade bundled TypeScript to 6.0.3 - #6163

Open
James Hanford (jahanford) wants to merge 4 commits into
microsoft:mainfrom
jahanford:ts-6
Open

James Hanford (jahanford) wants to merge 4 commits into
microsoft:mainfrom
jahanford:ts-6

Conversation

@jahanford

Copy link
Copy Markdown
Contributor

Summary

Update the api-extractor TypeScript compiler version to 6.0.3.

Details

Updates API Extractor’s bundled compiler to TypeScript 6.0.3, part of the final release line based on the original TypeScript implementation. Migrating to the Go-based compiler requires separate work to adapt API Extractor’s compiler API integrations to the new programmatic API expected to release with TypeScript 7.1.

How it was tested

Ran the api-extractor tests _phase:test

Impacted documentation

Updated code comments in TypeScriptInternals.ts to point to updated version and correct lines.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is TS 6 fully compatible with TS 5, or are there breaking changes in the language?

Comment thread common/changes/@rushstack/mcp-server/ts-6_2026-10-21-15-08-56.json Outdated
@jahanford

Copy link
Copy Markdown
Contributor Author

Is TS 6 fully compatible with TS 5, or are there breaking changes in the language?

There are breaking deprecations which can be ignored with a tsconfig value ignoreDeprecations: "6.0". https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#breaking-changes-and-deprecations-in-typescript-60

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Needs triage

Development

Successfully merging this pull request may close these issues.

2 participants