tsconfig.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. "target": "esnext",
  11. "types": ["node"],
  12. // For nodejs:
  13. // "lib": ["esnext"],
  14. // "types": ["node"],
  15. // and npm install -D @types/node
  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": true,
  34. "isolatedModules": true,
  35. "noUncheckedSideEffectImports": true,
  36. "moduleDetection": "force",
  37. "skipLibCheck": true
  38. }
  39. }