Visual Studio + Angular CLI – Cannot find name

After updating to the latest Angular CLI (RC0) and TypeScript tools for Visual Studio to (2.2.1) I started getting a LOT of errors like the following:

In files like


Add “dom” to “lib” tsconfig.json after creating a new project with Angular CLI as in

Hope this helps someone 🙂

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *