tsconfig.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "compilerOptions": {
  3. "allowJs": false,
  4. "checkJs": false,
  5. "strict": true,
  6. "alwaysStrict": true,
  7. "target": "ES2020",
  8. "module": "commonJS",
  9. "moduleResolution": "node",
  10. "skipLibCheck": true,
  11. "lib": [
  12. "es2020"
  13. ],
  14. // We don't make use of tslib helpers, all syntax used is supported by target engine
  15. "importHelpers": false,
  16. "noEmitHelpers": true,
  17. // Never emit error filled code
  18. "noEmitOnError": true,
  19. "outDir": "lib",
  20. // We want the sourcemaps in a separate file
  21. "inlineSourceMap": false,
  22. "sourceMap": true,
  23. // API-Extractor uses declaration maps to report problems in source, no need to distribute
  24. "declaration": true,
  25. "declarationMap": true,
  26. // we include sources in the release
  27. "inlineSources": false,
  28. // Prevents web types from being suggested by vscode.
  29. "types": [
  30. "node"
  31. ],
  32. "forceConsistentCasingInFileNames": true,
  33. "noImplicitOverride": true,
  34. "noImplicitReturns": true,
  35. // TODO(NODE-3659): Enable useUnknownInCatchVariables and add type assertions or remove unnecessary catch blocks
  36. "useUnknownInCatchVariables": false
  37. },
  38. "ts-node": {
  39. "transpileOnly": true,
  40. "compiler": "typescript-cached-transpile"
  41. },
  42. "include": [
  43. "src/**/*"
  44. ]
  45. }