Skip to content

Instantly share code, notes, and snippets.

@Livshitz
Last active December 25, 2019 17:58
Show Gist options
  • Save Livshitz/f566d92daea809457bb57bb7480bc72e to your computer and use it in GitHub Desktop.
Save Livshitz/f566d92daea809457bb57bb7480bc72e to your computer and use it in GitHub Desktop.
TS tsconfig
{
"compilerOptions": {
"target": "es3",
"module": "commonjs", // 'commonjs', 'amd', 'umd', 'system'.
"moduleResolution": "node", //"classic", "nodejs"
// "noImplicitAny": true,
"removeComments": true,
"preserveConstEnums": true,
//"isolatedModules": false
"experimentalDecorators": true,
"sourceMap": true,
"outDir": "./build/",
"noImplicitAny": false,
"typeRoots": ["node_modules/@types", "."],
"skipLibCheck": true,
"types": [
// "lodash",
// "jest",
// "jsdom",
// "node"
]
},
"include": [
"./**/*.d.ts",
"./**/*.ts"
],
"exclude": [
"node_modules/**/*"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment