Skip to content

Upgrade to TypeScript 6#3800

Open
henrymercer wants to merge 1 commit intomainfrom
henrymercer/typescript-6
Open

Upgrade to TypeScript 6#3800
henrymercer wants to merge 1 commit intomainfrom
henrymercer/typescript-6

Conversation

@henrymercer
Copy link
Copy Markdown
Contributor

tsconfig changes:

  • Specify moduleResolution: bundler since we use a bundler
  • Specify types: ["node"] to speed up build
  • Remove alwaysStrict as this is now deprecated
  • Specify skipLibCheck: true to speed up build
  • Specify Octokit types.d.ts path manually to address compiler not being able to find types with moduleResolution: bundler

Compiled files have not changed, so we can say with confidence that this is a dev/test change only.

tsconfig changes:

- Specify `moduleResolution: bundler` since we use a bundler
- Specify `types: ["node"]` to speed up build
- Remove `alwaysStrict` as this is now deprecated
- Specify `skipLibCheck: true` to speed up build
- Specify Octokit types.d.ts path manually to address compiler not being able to find types with `moduleResolution: bundler`
@henrymercer henrymercer requested a review from a team as a code owner April 2, 2026 17:47
Copilot AI review requested due to automatic review settings April 2, 2026 17:47
@github-actions github-actions bot added the size/XS Should be very easy to review label Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s TypeScript toolchain to TypeScript 6 and adjusts tsconfig.json to match the project’s bundler-based build while improving compile performance.

Changes:

  • Upgrade typescript to ^6.0.2 and bump typescript-eslint to ^8.58.0.
  • Update tsconfig.json to use moduleResolution: "bundler", restrict global types to Node, and enable skipLibCheck.
  • Add a paths override to restore Octokit/GitHub type resolution under bundler-style module resolution.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
tsconfig.json Switches to bundler module resolution, speeds up typechecking, and adds an Octokit type resolution workaround.
package.json Bumps TypeScript and typescript-eslint devDependencies.
package-lock.json Updates lockfile to reflect the TypeScript/typescript-eslint upgrades and transitive dependency changes.

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

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants