Skip to content

Remove skipLibCheck from tsconfig.json#683

Merged
truggeri merged 3 commits into
mainfrom
tsconfig-remove-skiplibcheck
Mar 26, 2026
Merged

Remove skipLibCheck from tsconfig.json#683
truggeri merged 3 commits into
mainfrom
tsconfig-remove-skiplibcheck

Conversation

@jeffwidman

Copy link
Copy Markdown
Member

Stacked on #682.

With moduleResolution set to "bundler", TypeScript can properly resolve types through package.json "exports" maps. The skipLibCheck workaround added in #676 is no longer needed — tsc --noEmit passes cleanly without it.

All 49 tests pass.

@jeffwidman jeffwidman marked this pull request as ready for review March 26, 2026 05:26
@jeffwidman jeffwidman requested a review from a team as a code owner March 26, 2026 05:26
Changes module from "commonjs" to "es2022" and moduleResolution
from "node" to "bundler". This tells TypeScript to resolve imports
the way esbuild does, including support for package.json "exports"
maps used by newer @actions/* and @octokit/* packages.

Since esbuild handles the actual CJS output (--format=cjs), these
settings only affect type-checking — the runtime behavior is unchanged.
@jeffwidman jeffwidman force-pushed the tsconfig-module-resolution-bundler branch from 6c4c100 to 0ea234d Compare March 26, 2026 17:29
With moduleResolution set to "bundler", TypeScript can properly
resolve types through package.json "exports" maps. The skipLibCheck
workaround is no longer needed — tsc --noEmit passes cleanly without it.
@jeffwidman jeffwidman force-pushed the tsconfig-remove-skiplibcheck branch from e484856 to 38c8d66 Compare March 26, 2026 17:30
Base automatically changed from tsconfig-module-resolution-bundler to main March 26, 2026 18:28
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