'mockingoose does not work with TypeScript

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.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source