I would like to use underscore in my Typescript Aurelia application.
I created a typescript file where i put:
import * as _ from 'underscore'
[ts] Cannot find module 'underscore'
npm install --save underscore
Since you are working with TypeScript, you must also install a
*.d.ts typings file for underscore. Try running:
npm install --save @types/underscore
This lets TS know about the underscore module and its interfaces.