Issues with using type definition

Hi!

I added this to my code :

import Raven  from "raven-js";

then later

Raven.config().install();

When I run tsc, I get this output :

Running "ts:dev" (ts) task
Compiling...
Using tsc v2.1.6
code/src/App.ts(48,42): error TS2307: Cannot find module 'raven-js'.

>> 1 non-emit-preventing type warning  
>> Error: tsc return code: 2
Warning: Task "ts:dev" failed. Use --force to continue.

Aborted due to warnings.

My dependency is “raven-js”: “^3.21.0”

Is there anything I’m missing?

Thanks!

Ended up not using imports and using require instead.