tsconfig.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. "allowImportingTsExtensions": true,
  20. "lib": [
  21. "dom",
  22. "esnext"
  23. ],
  24. "types": [
  25. "vite/client",
  26. "element-plus/global"
  27. ],
  28. "typeRoots": [
  29. "./node_modules/@types/",
  30. "./types"
  31. ],
  32. "noImplicitAny": false,
  33. "skipLibCheck": true,
  34. "paths": {
  35. "@/*": [
  36. "src/*"
  37. ],
  38. "/#/*": [
  39. "types/*"
  40. ]
  41. }
  42. },
  43. "include": [
  44. "src/**/*.ts",
  45. "src/**/*.d.ts",
  46. "src/**/*.tsx",
  47. "src/**/*.svg",
  48. "src/**/*.png",
  49. "src/**/*.jpg",
  50. "src/**/*.gif",
  51. "src/**/*.vue",
  52. "types/**/*.d.ts",
  53. "types/**/*.ts",
  54. "build/**/*.ts",
  55. "build/**/*.d.ts",
  56. "mock/**/*.ts",
  57. "components.d.ts",
  58. "vite.config.ts"
  59. ],
  60. "exclude": [
  61. "node_modules",
  62. "dist",
  63. "**/*.js"
  64. ]
  65. }