Skip to content

Conversation

rexxars
Copy link
Contributor

@rexxars rexxars commented Mar 8, 2025

Summary

Upgrade the bundled compiler engine to TypeScript 5.8.2.

Details

Allows using new erasableSyntaxOnly option, which currently fails:

api-extractor 7.51.1  - https://api-extractor.com/

Using configuration from ./api-extractor.json

ERROR: Error parsing tsconfig.json content: Unknown compiler option 'erasableSyntaxOnly'.

Seems to work fine after the upgrade.

How it was tested

Ran the build tests. Also manually overwrote the typescript version used by API extractor in a project, and seems to work just fine.

Impacted documentation

None, as far as I know.

@rexxars
Copy link
Contributor Author

rexxars commented Mar 8, 2025

@microsoft-github-policy-service agree

@iclanton iclanton moved this from Needs triage to In Progress in Bug Triage Mar 10, 2025
@iclanton
Copy link
Member

Tested this in a large internal repo and it ran fine.

Copy link
Collaborator

@octogonz octogonz left a comment

Choose a reason for hiding this comment

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

@rexxars Thanks for making this PR! 🎉

@iclanton iclanton merged commit 4aa0331 into microsoft:main Mar 10, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Closed in Bug Triage Mar 10, 2025
@rexxars rexxars deleted the feat/ts-85 branch March 11, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants