{
  "compilerOptions": {
    "target": "es2015",
    "module": "commonjs",
    "lib": ["es2017"],
    "declaration": true,
    "outDir": "./lib",
    "rootDir": "./src",
    "strict": true,
    "inlineSourceMap": true,
    "inlineSources": true
  },
  "include":[
      "./src"
  ]
}

{
  "compilerOptions": {
    "target": "es2015",
    "module": "commonjs",
    "lib": ["es2015"],
    "declaration": true,
    "outDir": "./lib",
    "rootDir": "./src",
    "strict": true,
    "inlineSourceMap": true,
    "inlineSources": true
  },
  "include":[
      "./src"
  ]
}

Set ts lib to es2015 to support node@6
Set ts lib to es2015 to support node@6
