Skip to content

Instantly share code, notes, and snippets.

@Mosharush
Created December 19, 2019 20:09
Show Gist options
  • Save Mosharush/2d1fa88e0f0effcfab20c860fec31595 to your computer and use it in GitHub Desktop.
Save Mosharush/2d1fa88e0f0effcfab20c860fec31595 to your computer and use it in GitHub Desktop.
TypeScript config example
{
"compilerOptions": {
"module": "commonjs",
"noImplicitAny": false,
"removeComments": true,
"preserveConstEnums": true,
"outDir": "build",
"allowJs": true,
"target": "es2015",
"sourceMap": true,
"baseUrl": "./",
"paths": {
"*": [ "node_modules/@types/*", "*"]
},
"lib": [
"es5",
"es6",
"dom",
"es2015.core",
"es2015.collection",
"es2015.generator",
"es2015.iterable",
"es2015.promise",
"es2015.proxy",
"es2015.reflect",
"es2015.symbol",
"es2015.symbol.wellknown",
"esnext.asynciterable"
]
},
"exclude": [
"node_modules",
"coverage",
"build",
".git"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment