I have the following webpack.config.js
var path = require(\"path\"); var webpack = require(\'webpack\'); module.exports = { entry: { \'ng2-auto-comple
For me the solution was to install @types/node:
@types/node
yarn add @types/node --dev
Or if you prefer npm:
npm install @types/node --dev
However, I suppose that if you plan to continue using "Map", "Set" or "Promise", it's good practice to include "es6" in the "lib" array in tsconfig.json anyways.
tsconfig.json