I have the following webpack.config.js
var path = require(\"path\");
var webpack = require(\'webpack\');
module.exports = {
entry: {
\'ng2-auto-comple
I'm using node.js v10.16.3.
The problem for me was that the typescript compiler was ignoring my tsconfig.json
file.
Three solutions worked for me:
tsc filename.ts --lib "es6", "dom"
when you compile the file@types/node
which will allow you to run tsc filename.ts
without errors.