tsconfig.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "moduleResolution": "node",
  6. "strict": true,
  7. "forceConsistentCasingInFileNames": true,
  8. "allowSyntheticDefaultImports": true,
  9. "strictFunctionTypes": false,
  10. "jsx": "preserve",
  11. "baseUrl": ".",
  12. "allowJs": true,
  13. "sourceMap": true,
  14. "esModuleInterop": true,
  15. "resolveJsonModule": true,
  16. "noUnusedLocals": true,
  17. "noUnusedParameters": true,
  18. "experimentalDecorators": true,
  19. "lib": [
  20. "dom",
  21. "esnext"
  22. ],
  23. "types": [
  24. "vite/client",
  25. "element-plus/global"
  26. ],
  27. "typeRoots": [
  28. "./node_modules/@types/",
  29. "./types"
  30. ],
  31. "noImplicitAny": false,
  32. "skipLibCheck": true,
  33. "paths": {
  34. "@/*": [
  35. "src/*"
  36. ],
  37. "/#/*": [
  38. "types/*"
  39. ]
  40. }
  41. },
  42. "include": [
  43. "src/**/*.ts",
  44. "src/**/*.d.ts",
  45. "src/**/*.tsx",
  46. "src/**/*.svg",
  47. "src/**/*.png",
  48. "src/**/*.jpg",
  49. "src/**/*.gif",
  50. "src/**/*.vue",
  51. "types/**/*.d.ts",
  52. "types/**/*.ts",
  53. "build/**/*.ts",
  54. "build/**/*.d.ts",
  55. "mock/**/*.ts",
  56. "components.d.ts",
  57. "vite.config.ts"
  58. ],
  59. "exclude": [
  60. "node_modules",
  61. "dist",
  62. "**/*.js"
  63. ]
  64. }