This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs-blog-newsletter/backend/node_modules/mongodb/tsconfig.json

41 lines
1.3 KiB
JSON
Raw Normal View History

2024-05-26 22:54:55 +02:00
{
"compilerOptions": {
"allowJs": false,
"checkJs": false,
"strict": true,
"alwaysStrict": true,
"target": "ES2019",
"module": "commonJS",
"moduleResolution": "node",
"skipLibCheck": true,
"lib": ["es2020"],
// We don't make use of tslib helpers, all syntax used is supported by target engine
"importHelpers": false,
"noEmitHelpers": true,
// Never emit error filled code
"noEmitOnError": true,
"outDir": "lib",
"importsNotUsedAsValues": "error",
// We want the sourcemaps in a separate file
"inlineSourceMap": false,
"sourceMap": true,
// API-Extractor uses declaration maps to report problems in source, no need to distribute
"declaration": true,
"declarationMap": true,
// we include sources in the release
"inlineSources": false,
// Prevents web types from being suggested by vscode.
"types": ["node"],
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
// TODO(NODE-3659): Enable useUnknownInCatchVariables and add type assertions or remove unnecessary catch blocks
"useUnknownInCatchVariables": false
},
"ts-node": {
"transpileOnly": true,
"compiler": "typescript-cached-transpile"
},
"include": ["src/**/*"]
}