Skip to content

Instantly share code, notes, and snippets.

@ghaiklor
Created February 26, 2021 11:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ghaiklor/1dff8fa5e4c03adb54804fe42918e5d5 to your computer and use it in GitHub Desktop.
Save ghaiklor/1dff8fa5e4c03adb54804fe42918e5d5 to your computer and use it in GitHub Desktop.
TypeScript Strict Configuration
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowUnreachableCode": false,
"alwaysStrict": true,
"composite": true,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"incremental": true,
"module": "CommonJS",
"moduleResolution": "Node",
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"outDir": "dist",
"preserveSymlinks": true,
"removeComments": true,
"rootDir": "src",
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "ES2019"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment