user104317 user104317 - 5 months ago 47x
Javascript Question

How do I use typescript with a jQuery/lodash/react/angular/any other library?

I am using typescript and would like to use a library with it. How can I use a library with typescript?


Use typings. It lets you download typescript definition files of common javascript libraries. You to install NodeJS first.

npm install -g typings
cd project
typings search (library)
typings install (library)