{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"lib": [
"es2017",
"dom"
]
},
"exclude": [
"node_modules"
]
}
This tsconfig.json lets us use the power of es2017 (es8) while compiling to es2015 (es6), which Node 6.11.0 supports.