Microsoft is making things much easier for TypeScript developer who are using external libraries (who isn’t?).
TypeSearch is a website that allows you to quickly search for the type declaration file for the library that you are using.
This is going to be much easier than using
$ typings search.
All of the DefinitelyTyped libraries are in a new npm
This is automatically updated via a new tool that the team at Microsoft created, dubbed types-publisher.
Because all of the type declaration files from DefinitelyTyped are now available on npm, installing them is as easy as:
$ npm install --save @types/lodash
From there, import the library as you would normally:
import * as _ from 'lodash';