Skip to content

Instantly share code, notes, and snippets.

@dpyro
Created August 11, 2018 21:17
Show Gist options
  • Save dpyro/01f96cd0a1f826ac5ba3720f9311e00c to your computer and use it in GitHub Desktop.
Save dpyro/01f96cd0a1f826ac5ba3720f9311e00c to your computer and use it in GitHub Desktop.
Sample tsconfig.json
{
"compilerOptions": {
"allowJs": true,
"alwaysStrict": true,
"checkJs": true,
"downlevelIteration": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"lib": [ "es2017" ],
"module": "commonjs",
"noImplicitThis": true,
"outDir": "dist/",
"resolveJsonModule": true,
"rootDir": ".",
"sourceMap": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "es2017",
"typeRoots": ["node_modules/@types"]
},
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment