Commit c5c4bd2
Tajudeen
fix: exclude Deno-specific files from TypeScript compilation
- Add skipLibCheck to React tsconfig.json to skip type checking of declaration files
- Exclude node_modules and cac/deno directories from TypeScript compilation
- Add exclusions to main src/tsconfig.json to prevent compilation of Deno files
This fixes build errors where TypeScript was trying to compile Deno-specific
files in node_modules/cac/deno/ which use Deno-specific syntax and imports.1 parent 30750b3 commit c5c4bd2
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments