Skip to content

Instantly share code, notes, and snippets.

@saurabhpati
Created May 20, 2018 13:35
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 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