I have imported crypto pouch in angular like below
import CryptoPouch from 'crypto-pouch';
But its showing error like below,
Could not find a declaration file for module 'crypto-pouch'. '/home/excercise_task/pouchDB/pouchApp/node_modules/crypto-pouch/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/crypto-pouch if it exists or add a new declaration (.d.ts) file containing declare module 'crypto-pouch';ts(7016)
Change import statement to require:
If you get could not find name require like the message below:
Run: