mm
This commit is contained in:
@@ -9,7 +9,14 @@
|
||||
"types": ["node", "react", "vite/client"],
|
||||
|
||||
// React JSX 编译模式
|
||||
"jsx": "react-jsx"
|
||||
"jsx": "react-jsx",
|
||||
|
||||
/**
|
||||
* 只做类型检查,不生成 JS 输出
|
||||
* - 适用于 Vite / Next / Nuxt 等 bundler 场景
|
||||
* - 防止 tsc 与构建工具重复 emit
|
||||
*/
|
||||
"noEmit": true
|
||||
},
|
||||
// 将类型检查范围扩大至整个子项目,而不只是 src 文件夹,
|
||||
"include": ["**/*"]
|
||||
|
||||
Reference in New Issue
Block a user