react-liquid-gauge icon indicating copy to clipboard operation
react-liquid-gauge copied to clipboard

Is it possible to use this library in a tsx file ?

Open GokulSNarayan opened this issue 5 years ago • 1 comments

I wanted to use typescript in react and when I tried to get the declaration file for this package it was not available. Is there a way to integrate that ?

GokulSNarayan avatar May 06 '20 11:05 GokulSNarayan

yes even I am facing the same issue. Is there any solution?

Could not find a declaration file for module 'react-liquid-gauge'. 'C:/Users/shivaprasad.suvarna/Documents/Projects/ohdsi-frontend/node_modules/react-liquid-gauge/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/react-liquid-gauge` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-liquid-gauge';`   

ShivaprasadLSuvarna45 avatar Oct 12 '21 07:10 ShivaprasadLSuvarna45