Importing lodash into angular2 + typescript application
Here is how to do this as of Typescript 2.0: (tsd and typings are being deprecated in favor of the following): $ npm install –save lodash # This is the new bit here: $ npm install –save-dev @types/lodash Then, in your .ts file: Either: import * as _ from “lodash”; Or (as suggested by @Naitik): … Read more