12345678910111213141516171819202122232425262728293031323334353637 |
- /* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
- /* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
- {
- "compileOnSave": false,
- "compilerOptions": {
- "strict": true,
- "noImplicitOverride": true,
- "noPropertyAccessFromIndexSignature": true,
- "noImplicitReturns": true,
- "noFallthroughCasesInSwitch": true,
- "skipLibCheck": true,
- "isolatedModules": true,
- "experimentalDecorators": true,
- "importHelpers": true,
- "module": "CommonJS", // 强制使用 CJS
- "moduleResolution": "node", // 使用 Node.js 的模块解析方式
- "esModuleInterop": true, // 允许混合导入 ESM 和 CJS
- "target": "ES2022", // 或其他 ES 版本
-
- },
- "angularCompilerOptions": {
- "enableI18nLegacyMessageIdFormat": false,
- "strictInjectionParameters": true,
- "strictInputAccessModifiers": true,
- "typeCheckHostBindings": true,
- "strictTemplates": true
- },
- "files": [],
- "references": [
- {
- "path": "./tsconfig.app.json"
- },
- {
- "path": "./tsconfig.spec.json"
- }
- ]
- }
|