AngularJS + Visual Studio Code Intellisense

I created an AngularJS project and downloaded @types for angular. (npm install --save-dev "@ types / angular") My problem is that in VSCode it looks like I'm not getting type information for DI services like $ scope, $ http, etc. For angular itself, I get the list in order, but for $ services I do not.

For example, $ http is reported as "any".

How can I get Intellisense and enter type information for these services?

no type information for angularjs built-in services

0
source share
1 answer

What you did right, always VSCode did not support intellisence for injection services like $ http.

afaik. issue.

+1

All Articles