Skip to content

Instantly share code, notes, and snippets.

@mhaecal
Created February 17, 2022 04:17
Show Gist options
  • Save mhaecal/94efb4cffb3ad13a9381d0939b5d270c to your computer and use it in GitHub Desktop.
Save mhaecal/94efb4cffb3ad13a9381d0939b5d270c to your computer and use it in GitHub Desktop.
Typescript Configuration for React
{
"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"
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment