Sign in
Log inSign up

How to use lodash node module in a TypeScript file?

Reza Razavipour's photo
Reza Razavipour
·Dec 28, 2016

I have not been able to get this to work.

I have done

npm install lodash --save

in my .ts file, I use:

import _ from "lodash"; or
import * as _ from "lodash";

...with no success. Any ideas to what I am missing?