Skip to content

Instantly share code, notes, and snippets.

@hoffination
Created April 25, 2018 00:04
Show Gist options
  • Save hoffination/3751995cc3da1501a9316b30d0e3a53b to your computer and use it in GitHub Desktop.
Save hoffination/3751995cc3da1501a9316b30d0e3a53b to your computer and use it in GitHub Desktop.
Best defaults for TypeScript as of Spring 2018
{
"compileOnSave": false,
"compilerOptions": {
"strict": true,
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"noUnusedLocals": true,
"lib": [
"es7",
"dom"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment