Skip to content

Instantly share code, notes, and snippets.

@197291
Created May 29, 2019 09:55
Show Gist options
  • Save 197291/5a49d4cb95637ae11334e023e4573282 to your computer and use it in GitHub Desktop.
Save 197291/5a49d4cb95637ae11334e023e4573282 to your computer and use it in GitHub Desktop.
Typescript configuration file
{
"compilerOptions": {
"outDir": "build/dist",
"module": "esnext",
"baseUrl": "./src",
"resolveJsonModule": true,
"noEmit": true,
"target": "es5",
"lib": [
"es6",
"dom",
"es2017"
],
"sourceMap": true,
"allowJs": true,
"jsx": "preserve",
"moduleResolution": "node",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": false,
"strictNullChecks": false,
"allowSyntheticDefaultImports": true,
"suppressImplicitAnyIndexErrors": true,
"strictFunctionTypes": false,
"noUnusedLocals": true,
"downlevelIteration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"strict": true,
"isolatedModules": true
},
"include": [
"declarations.d.ts",
"src"
],
"exclude": [
"src/__tests__",
"src/mock-generator"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment