Skip to content

Instantly share code, notes, and snippets.

@szul
Created February 12, 2022 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save szul/75ab50eb7b6724f94a4e004e37d31470 to your computer and use it in GitHub Desktop.
Save szul/75ab50eb7b6724f94a4e004e37d31470 to your computer and use it in GitHub Desktop.
Stricter TypeScript configuration
{
"compilerOptions": {
"target":"es6",
"module": "commonjs",
"declaration": true,
"sourceMap": true,
"outDir": "./lib",
"rootDir": "./src",
"types": [
"node"
],
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"resolveJsonModule": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"strict": true,
"noUnusedLocals": true
},
"include": [
"src/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment