2015-07-31
If you want to use an existing JavaScript library with TypeScript you need some kind of header file. This file, called definition file, contains type informations about the JavaScript library and enables the TypeScript developer to use the library objects like they where TypeScript objects. You can either write your own (I will write a blog post about that in the near future) or take advantage of TSD, a manager for TypeScript definition files based on the GitHub repository Definitely Typed.
Continue reading