4

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 don't get any type information for DI services like $scope, $http etc. For angular itself I get the list fine, but for $ services I don't.

For instance $http is reported as 'any'.

How can I get Intellisense and type information for those services too?

no type information for built-in angularjs services

1 Answer 1

4

What you have done is correct, always VSCode did not support intellisence for injecting services such as $http.

You can't get support for those afaik. Since this has been stopped according to this issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.