Skip to content

Instantly share code, notes, and snippets.

@samtgarson
Created August 4, 2020 15:00
Show Gist options
  • Save samtgarson/5fe42c6b4df59ac2cdaa6f37cae74cdc to your computer and use it in GitHub Desktop.
Save samtgarson/5fe42c6b4df59ac2cdaa6f37cae74cdc to your computer and use it in GitHub Desktop.
Starter Typescript Config
{
"compilerOptions": {
"target": "es5",
"lib": ["esnext"],
"allowJs": true,
"strict": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"typeRoots": ["node_modules/@types", "types/stubs"],
"baseUrl": ".",
"paths": {
"~/*": ["./*"]
}
},
"exclude": [
"node_modules"
],
"include": [
"**/*.ts",
"**/*.tsx"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment