This commit is contained in:
2026-11-29 08:09:42 +08:00
parent 0026089761
commit 6377409adc
7 changed files with 12 additions and 26 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
"emitDecoratorMetadata": true,
// 转换 jsx 时,使用 17+ 的新语法导入 react 。
"jsx": "react-jsx",
// 可作为子项目,被其他项目引用,但建议使用 workspace dep 模式,不是写 references 。
// 可作被其他项目引用源码,但有潜在的 ts 版本问题,建议使用 workspace dep 模式,而不是写 references 。
"composite": false,
// 只加载指定类型的声明包,避免加载无用类型,提升编译速度
"types": ["node", "vite/client"],