mockingoose does not work with TypeScript

Viewed 426

The following import

import mockingoose from 'mockingoose';

gives an error Could not find a declaration file for module 'mockingoose'. with TypeScript.

According to this npm page,

mockingoose provides its own type definitions, so you don't need @types/mockingoose installed!

I'm not sure how to fix this.

0 Answers
Related