How to use use external js in typescript
- by Krishan
I Generate the Angular JS code through the Typescript code. In one situation, I need to add external JS file to my typescript file and need to access the classes in the js file.
I add that js file like this.
/// <amd-dependency path="../../vendor/tweenMax.js" />
But still the typescript file can not identify the objects of that javascript file.
If someone knows the suitable way, please add your answer. (I'm using min. js file)