Commit 5e17564
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
0 commit comments