angular.io icon indicating copy to clipboard operation
angular.io copied to clipboard

Cannot find namespace angular

Open vasuneet opened this issue 8 years ago • 2 comments

i used the following statement in typescript source file as below referred from angular.io documentation declare var angular:angular.IAngularStatic;

But it giving me error - Cannot find namespace angular.

I tested the same in quickstart project also. same issue

I am referring this from the following url -

https://angular.io/docs/ts/latest/guide/upgrade.html#!#making-angularjs-dependencies-injectable-to-angular

vasuneet avatar Feb 17 '17 14:02 vasuneet

Are you installing Angular types?

Foxandxss avatar Feb 20 '17 10:02 Foxandxss

yes. However in compiling no issue but in IDE it is showing this.

vasuneet avatar Feb 21 '17 13:02 vasuneet