tsconfig.json 1020 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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": ["dom", "esnext"],
  20. "types": ["vite/client"],
  21. "typeRoots": ["./node_modules/@types/", "./types"],
  22. "incremental": true,
  23. "noImplicitAny": false,
  24. "skipLibCheck": true,
  25. "paths": {
  26. "/@/*": ["src/*"],
  27. "/#/*": ["types/*"]
  28. }
  29. },
  30. "include": [
  31. "src/**/*.ts",
  32. "src/**/*.d.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "types/**/*.d.ts",
  36. "types/**/*.ts",
  37. "build/**/*.ts",
  38. "build/**/*.d.ts",
  39. "mock/**/*.ts"
  40. ],
  41. "exclude": ["node_modules", "dist", "**/*.js"]
  42. }