Skip to content

Instantly share code, notes, and snippets.

@saurabhpati
Created May 20, 2018 13:35
Show Gist options
  • Save saurabhpati/4f681572f5c03683eca7a804c8b80c78 to your computer and use it in GitHub Desktop.
Save saurabhpati/4f681572f5c03683eca7a804c8b80c78 to your computer and use it in GitHub Desktop.
tsconfig.json for setting up a project for a React application with typescript
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"jsx": "react",
"module": "commonjs",
"noImplicitAny": true,
"outDir": "./build/",
"preserveConstEnums": true,
"removeComments": true,
"sourceMap": true,
"target": "es5"
},
"include": [
"./src/**/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment