solved by adding ``` "lib": ["es2015", "dom"] ``` to `tsconfig.json`
solved by adding
to
tsconfig.json