Search Posts

How do I use typescript definition files (.d.ts) in a angularjs application without reference path?

I want to use .d.ts files for intellisense in javascript using VScode. For example, I have an angular js file comments.js, In this file, I want to use the type definitions from utilities.d.ts which exports a namespace “Utilities”.

So typing Utilties. would trigger intellisense for the methods in utilities.d.ts.

Is this possible in a javascript application without using reference path?
/// ?

Source: AngularJS

1 comment on How do I use typescript definition files (.d.ts) in a angularjs application without reference path?

Leave a Reply

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