Skip to content

we can start using typescript 7 for compiling and type checking. - #1746

Open
Janther wants to merge 1 commit into
mainfrom
ts7-side-by-side
Open

Janther wants to merge 1 commit into
mainfrom
ts7-side-by-side

Conversation

@Janther

@Janther Janther commented Oct 1, 2026

Copy link
Copy Markdown
Member

linting depends on typescript 6's API so we have to use the following configuration.

The way it works:

  • "@typescript/native": "npm:typescript@^7.0.2" installs TS7 as an alias and upon installation the tool tsc is installed. We for type checking and compiling use npc tsc directly.
  • "typescript": "npm:@typescript/typescript6@^6.0.2" installs a wrapper for typescript 6.0.3 called @typescript/old without copying tsc to node_modules/bin and all of typescript-eslint's calls to the typescript API are routed there.

This configuration is the one suggested but the typescript team https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/#running-side-by-side-with-typescript-6.0

@Janther
Janther requested a review from fvictorio October 1, 2026 03:24
@Janther Janther added dependencies Pull requests that update a dependency file Developer experience Small or big nice to have features that will improve the ongoing developer experience over time. labels Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Developer experience Small or big nice to have features that will improve the ongoing developer experience over time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant