Remove skipLibCheck from tsconfig.json by jeffwidman · Pull Request #683 · dependabot/fetch-metadata (original) (raw)
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.
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.
Base automatically changed from tsconfig-module-resolution-bundler to main
truggeri deleted the tsconfig-remove-skiplibcheck branch
This was referenced
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})