Explorar o código

chore(tsconfig): 更新 TypeScript 配置以兼容当前环境

- 移除不被当前 TypeScript 版本支持的 verbatimModuleSyntax 选项
- 保留 isolatedModules 选项以确保模块隔离
- 添加注释说明移除原因,便于后续维护和升级
- 确保其他编译选项保持不变,维持项目稳定性
mcbaiyun hai 2 meses
pai
achega
f52ccd52e7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tsconfig.json

+ 2 - 2
tsconfig.json

@@ -7,8 +7,8 @@
     "jsx": "preserve",
     "jsx": "preserve",
     "noImplicitThis": true,
     "noImplicitThis": true,
     "strict": true,
     "strict": true,
-    "isolatedModules": true,
-    "verbatimModuleSyntax": true,
+  "isolatedModules": true,
+  // "verbatimModuleSyntax": true, // removed: not supported by this TypeScript/version in the environment
     "target": "ESNext",
     "target": "ESNext",
     "esModuleInterop": true,
     "esModuleInterop": true,
     "forceConsistentCasingInFileNames": true,
     "forceConsistentCasingInFileNames": true,