tsconfig.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. // Visit https://aka.ms/tsconfig to read more about this file
  3. "compilerOptions": {
  4. // File Layout
  5. "rootDir": "./src",
  6. "outDir": "./dist",
  7. // Environment Settings
  8. // See also https://aka.ms/tsconfig/module
  9. "module": "nodenext",
  10. "moduleResolution": "nodenext",
  11. "esModuleInterop": true,
  12. "target": "ESNext",
  13. "types": [
  14. "node"
  15. ],
  16. // Other Outputs
  17. "sourceMap": true,
  18. "declaration": true,
  19. "declarationMap": true,
  20. // Stricter Typechecking Options
  21. "noUncheckedIndexedAccess": true,
  22. "exactOptionalPropertyTypes": true,
  23. // Style Options
  24. // "noImplicitReturns": true,
  25. // "noImplicitOverride": true,
  26. // "noUnusedLocals": true,
  27. // "noUnusedParameters": true,
  28. // "noFallthroughCasesInSwitch": true,
  29. // "noPropertyAccessFromIndexSignature": true,
  30. // Recommended Options
  31. "strict": true,
  32. "jsx": "react-jsx",
  33. "verbatimModuleSyntax": false,
  34. "isolatedModules": true,
  35. "noUncheckedSideEffectImports": true,
  36. "moduleDetection": "force",
  37. "skipLibCheck": true,
  38. }
  39. }