tsconfig.json 1.3 KB

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