tsconfig.json 929 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "compilerOptions": {
  3. "target": "esnext",
  4. "module": "esnext",
  5. "strict": true,
  6. "jsx": "preserve",
  7. "moduleResolution": "node",
  8. "skipLibCheck": true,
  9. "esModuleInterop": true,
  10. "allowSyntheticDefaultImports": true,
  11. "forceConsistentCasingInFileNames": true,
  12. "useDefineForClassFields": true,
  13. // "suppressImplicitAnyIndexErrors": true, //
  14. "sourceMap": true,
  15. "baseUrl": ".",
  16. "types": [
  17. "vite/client"
  18. ],
  19. "paths": {
  20. "@/*": [
  21. "src/*"
  22. ]
  23. },
  24. "lib": [
  25. "esnext",
  26. "dom",
  27. "dom.iterable",
  28. "scripthost"
  29. ]
  30. },
  31. "include": [
  32. "src/**/*.ts",
  33. "src/**/*.tsx",
  34. "src/**/*.vue",
  35. "src/pnpm dtypes/*.d.ts",
  36. "tests/**/*.ts",
  37. "tests/**/*.tsx",
  38. ],
  39. "files": [
  40. "node_modules/vite-plugin-pwa/client.d.ts"
  41. ],
  42. "exclude": [
  43. "node_modules"
  44. ],
  45. "references": [{ "path": "./tsconfig.node.json" }]
  46. }