tsconfig.json 733 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "compilerOptions": {
  3. "target": "ES2022",
  4. "useDefineForClassFields": true,
  5. "lib": ["ES2022", "DOM", "DOM.Iterable"],
  6. "module": "ESNext",
  7. "skipLibCheck": true,
  8. /* Bundler mode */
  9. "moduleResolution": "bundler",
  10. "allowImportingTsExtensions": true,
  11. "isolatedModules": true,
  12. "moduleDetection": "force",
  13. "noEmit": true,
  14. "jsx": "react-jsx",
  15. /* Linting */
  16. "strict": true,
  17. "noUnusedLocals": true,
  18. "noUnusedParameters": true,
  19. "noFallthroughCasesInSwitch": true,
  20. /* Paths */
  21. // "baseUrl": ".", removed for TypeScript 7 compatibility
  22. "paths": {
  23. "@/*": ["./src/*"]
  24. }
  25. },
  26. "include": ["src", "src/types", "vite.config.ts", "src/vite-env.d.ts"]
  27. }