Skip to content

Commit 5e17564

Browse files
jeffwidmantruggeri
andauthored
Remove skipLibCheck from tsconfig.json (#683)
* Switch tsconfig module resolution to bundler 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. * Remove skipLibCheck from tsconfig.json 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. --------- Co-authored-by: Thomas Ruggeri <[email protected]>
1 parent bb56eeb commit 5e17564

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"rootDir": "./src",
77
"strict": true,
88
"noImplicitAny": false,
9-
"esModuleInterop": true,
10-
"skipLibCheck": true
9+
"esModuleInterop": true
1110
},
1211
"exclude": ["node_modules"]
1312
}

0 commit comments

Comments
 (0)