How to use use external js in typescript

Posted by Krishan on Stack Overflow See other posts from Stack Overflow or by Krishan
Published on 2014-06-10T07:26:45Z Indexed on 2014/06/10 9:25 UTC
Read the original article Hit count: 170

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)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about angularjs