tsconfig.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "compilerOptions": {
  3. /* Language and Environment */
  4. "target": "ES2022",
  5. "lib": ["ES2022"],
  6. /* Modules */
  7. "module": "ESNext",
  8. "moduleResolution": "bundler",
  9. "resolveJsonModule": true,
  10. /* Emit */
  11. "declaration": true,
  12. "declarationMap": true,
  13. "sourceMap": true,
  14. "outDir": "./dist",
  15. "removeComments": true,
  16. "importHelpers": false,
  17. /* Interop Constraints */
  18. "esModuleInterop": true,
  19. "allowSyntheticDefaultImports": true,
  20. "forceConsistentCasingInFileNames": true,
  21. /* Type Checking */
  22. "strict": true,
  23. "noImplicitAny": true,
  24. "strictNullChecks": true,
  25. "strictFunctionTypes": true,
  26. "strictBindCallApply": true,
  27. "strictPropertyInitialization": true,
  28. "noImplicitThis": true,
  29. "alwaysStrict": true,
  30. "noUnusedLocals": true,
  31. "noUnusedParameters": true,
  32. "noImplicitReturns": true,
  33. "noFallthroughCasesInSwitch": true,
  34. "noUncheckedIndexedAccess": true,
  35. "noImplicitOverride": true,
  36. "noPropertyAccessFromIndexSignature": false,
  37. /* Completeness */
  38. "skipLibCheck": true
  39. },
  40. "include": [
  41. "src/**/*"
  42. ],
  43. "exclude": [
  44. "node_modules",
  45. "dist",
  46. "**/*.test.ts",
  47. "**/*.spec.ts"
  48. ]
  49. }