tsconfig.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "extends": "@vue/tsconfig/tsconfig.web.json",
  3. "include": [
  4. "env.d.ts",
  5. "auto-import.d.ts",
  6. "components.d.ts",
  7. "src/**/*.ts",
  8. "src/**/*.tsx",
  9. "src/**/*.vue",
  10. "tests/**/*.ts",
  11. "tests/**/*.tsx"
  12. ],
  13. "compilerOptions": {
  14. "ignoreDeprecations": "5.0",
  15. "target": "es5",
  16. "downlevelIteration": true,
  17. "module": "esnext",
  18. "strict": true,
  19. "jsx": "preserve",
  20. "importHelpers": true,
  21. "moduleResolution": "node",
  22. "skipLibCheck": true,
  23. "esModuleInterop": true,
  24. "allowSyntheticDefaultImports": true,
  25. "suppressImplicitAnyIndexErrors": true,
  26. "forceConsistentCasingInFileNames": true,
  27. "useDefineForClassFields": true,
  28. "sourceMap": true,
  29. "baseUrl": "./",
  30. "types": ["node", "element-plus/global"],
  31. "paths": {
  32. "@/*": ["src/*"]
  33. },
  34. "lib": ["esnext", "dom", "dom.iterable", "scripthost"]
  35. },
  36. "exclude": ["node_modules"],
  37. "references": [
  38. {
  39. "path": "./tsconfig.config.json"
  40. }
  41. ]
  42. }