I have the following webpack.config.js
var path = require(\"path\"); var webpack = require(\'webpack\'); module.exports = { entry: { \'ng2-auto-comple
To resolve this error change the following properties in tsconfig.json file.
"lib": [ "es2018", "dom", "es5", "es6" ], "module": "es2015", "target": "es6"
After that run following command in the terminal.
npm install @types/es6-shim
ERROR RESOLVED.