tsconfig.json 965 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* To learn more about this file see: https://angular.io/config/tsconfig. */
  2. {
  3. "compileOnSave": false,
  4. "compilerOptions": {
  5. "baseUrl": "./",
  6. "outDir": "./dist/out-tsc",
  7. "forceConsistentCasingInFileNames": true,
  8. "strict": true,
  9. "noImplicitOverride": true,
  10. "noPropertyAccessFromIndexSignature": true,
  11. "noImplicitReturns": true,
  12. "noFallthroughCasesInSwitch": true,
  13. "sourceMap": true,
  14. "declaration": false,
  15. "downlevelIteration": true,
  16. "experimentalDecorators": true,
  17. "moduleResolution": "node",
  18. "importHelpers": true,
  19. "target": "es2022",
  20. "module": "es2020",
  21. "lib": [
  22. "es2018",
  23. "dom"
  24. ],
  25. "useDefineForClassFields": false,
  26. "allowSyntheticDefaultImports": true,
  27. // 其他选项
  28. },
  29. "angularCompilerOptions": {
  30. "enableI18nLegacyMessageIdFormat": false,
  31. "strictInjectionParameters": true,
  32. "strictInputAccessModifiers": true,
  33. "strictTemplates": true
  34. }
  35. }