Skip to content

Migrate to stable TypeScript 7 - #2545

Open
Jake Bailey (jakebailey) wants to merge 2 commits into
microsoft:mainfrom
jakebailey:migrate-to-typescript-7
Open

Jake Bailey (jakebailey) wants to merge 2 commits into
microsoft:mainfrom
jakebailey:migrate-to-typescript-7

Conversation

@jakebailey

Copy link
Copy Markdown
Member

Unfortunately this hits an npm-only problem where npx tsc runs v6 instead of v7, so the path to the new compiler needs to be handwritten.

Comment thread package.json
"prettier": "^3.6.2",
"print-diff": "^2.0.0",
"typescript": "^6.0.3",
"typescript": "npm:@typescript/typescript6@^6.0.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we still need to install TS6 here though? We don´t test TS5.x this way, maybe we can install only TS7 here and install other versions only in CI?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, because the repo still uses eslint.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

And I think, other API stuff? (It's been a while, I forgot what I was doing here)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants