Skip to content

fix: TypeScript 6 migration#336

Open
nitinkumar-saucelabs wants to merge 2 commits into
mainfrom
fix/ts6-migration
Open

fix: TypeScript 6 migration#336
nitinkumar-saucelabs wants to merge 2 commits into
mainfrom
fix/ts6-migration

Conversation

@nitinkumar-saucelabs
Copy link
Copy Markdown
Contributor

Summary

TypeScript 6 removed two implicit behaviors that all three runners relied on:

  • rootDir inference removed — TS5 silently inferred rootDir from the common parent of matched source files. TS6 requires it to be set explicitly.
  • @types/* auto-inclusion removed — TS5 automatically loaded every @types/* package from node_modules. TS6 requires explicit "types": ["node"] in tsconfig to include Node.js globals (process, console, Buffer, etc).

Changes

  • tsconfig.json — added rootDir and types

konraddysput and others added 2 commits May 1, 2026 09:32
- Add rootDir and types to tsconfig.json (TS6 no longer infers rootDir
  or auto-includes @types/*)
@nitinkumar-saucelabs nitinkumar-saucelabs requested a review from a team as a code owner May 5, 2026 12:12
Base automatically changed from chore/monthly-dependency-update-2026-05 to main May 28, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants