Commit fd67728
fix: 修正前端 TypeScript 型別設定以通過 CI 建置
- 加入 @types/node devDependency(Vite 需要 Node.js 型別定義)
- tsconfig.node.json 加入 types: ["node"] 和 lib: ESNext
- 加入 skipLibCheck: true 跳過 node_modules .d.ts 檢查(Vite 官方做法)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9834146 commit fd67728
3 files changed
Lines changed: 23 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
0 commit comments