aravindnc/mongoose-aggregate-paginate-v2

Could not find a declaration file for module

amapy003xamk opened this issue · 4 comments

Trying to use this package in my project but I get error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry. Try npm install @types/mongoose-aggregate-paginate-v2 if it exists or add a new declaration (.d.ts) file containing declare module 'mongoose-aggregate-paginate-v2';" Package installation goes fine but when I import package to my project file this error appears.

When trying npm install @types/mongoose-aggregate-paginate-v2, it throws another error: "'@types/mongoose-aggregate-paginate-v2@latest' is not in the npm registry.".

How could I fix this in my project? Installed node version is the latest LTS version if it matters.

++1 on this. Everything else in my app is modern except this

Sorry I'm not managing the TS version.