Skip to content

Instantly share code, notes, and snippets.

@neverovski
Last active August 12, 2022 11:33
Show Gist options
  • Save neverovski/ad32a8076a252d6e2b5d99578811f722 to your computer and use it in GitHub Desktop.
Save neverovski/ad32a8076a252d6e2b5d99578811f722 to your computer and use it in GitHub Desktop.
TSConfig for React
{
"extends": "./tsconfig.paths.json",
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"typeRoots": [
"./src/@types",
"./node_modules/@types"
]
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment