This project is read-only.

calling methods from external assemblies

Topics: General
Feb 15, 2013 at 11:28 AM
I work with VS 2012.
I want to call inside typescript a method located in an external dll (which I created with C#)
Can anybody point me to an example of referencing an external dll in typescript?

Thanks for any help in advance
Feb 15, 2013 at 3:37 PM
It's exactly how you would do it in Javascript, except that you'll declare the function you want to call in Typescript.
declare function externDLLFunc(a: any, ...): void;