Skip to content

Instantly share code, notes, and snippets.

@r3b311i0n
Created November 1, 2017 00:28
Show Gist options
  • Save r3b311i0n/396d7549597754fe6a87bd784b556290 to your computer and use it in GitHub Desktop.
Save r3b311i0n/396d7549597754fe6a87bd784b556290 to your computer and use it in GitHub Desktop.
TypeScript configuration for ESNext + React JSX.
{
"compilerOptions": {
"module": "es2015",
"moduleResolution": "node",
"target": "es2015",
"sourceMap": true,
"inlineSources": true,
"outDir": "./dist/",
"lib": [
"dom",
"dom.iterable",
"es6",
"scripthost",
"es2016",
"es2017",
"esnext"
],
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"jsx": "react",
"noImplicitAny": true,
"strict": true,
"strictFunctionTypes": false,
"pretty": true,
"removeComments": true,
"typeRoots": [
"./typings/"
]
},
"include": [
"./src/**/*",
"./test/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment