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