Skip to content

Instantly share code, notes, and snippets.

@Sarghm
Created Dec 7, 2020
Embed
What would you like to do?
Minimal tsconfig.json file for React & TypeScript projects
{
"compilerOptions": {
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"jsx": "react",
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true
},
"include": [
"./src/**/*"
],
"exclude": [
"build"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment