react-compound-timer icon indicating copy to clipboard operation
react-compound-timer copied to clipboard

Typescript type error issue

Open nabeel-v opened this issue 2 years ago • 0 comments

"vite": "^4.4.5", "typescript": "^4.9.5", "react": "^18.2.0",

Could not find a declaration file for module 'react-compound-timer'. '/home/flock/projects/lula-admin-frontend/node_modules/react-compound-timer/dist/cjs/react-compound-timer.cjs' implicitly has an 'any' type.
  Try `npm i --save-dev @types/react-compound-timer` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-compound-timer';`

When using react-compound-timer unable to resolve type

nabeel-v avatar Sep 18 '23 13:09 nabeel-v