Commit 3df37ae
Add explicit type configuration for consistent type resolution
Configure TypeScript to explicitly resolve Node and Bun type definitions,
ensuring bun run lint works consistently across all environments (local,
CI, codex environment, etc.).
Changes:
- Add "types" array to explicitly include node and bun types
- Add "typeRoots" to ensure node_modules/@types is checked
- Add "lib" array for ES2020 standard library types
This addresses the ambient type definition issue identified by @codex
where type resolution could fail in environments without implicit type discovery.
Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent a2e350b commit 3df37ae
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
0 commit comments