Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Created June 25, 2022 09:01
Show Gist options
  • Save rummelonp/28922ed8fea35ba6874d8d849f9a0b89 to your computer and use it in GitHub Desktop.
Save rummelonp/28922ed8fea35ba6874d8d849f9a0b89 to your computer and use it in GitHub Desktop.
create-react-app した後に設定する tsconfig.json 2022
{
"compilerOptions": {
"incremental": true,
"target": "es5",
"module": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": false,
"jsx": "react-jsx",
"noEmit": true,
"isolatedModules": true,
"strict": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"skipLibCheck": true,
"moduleResolution": "node",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment