Closed PabloReszczynski closed 2 years ago
I had to add this to my types.d.ts to work around the issue:
declare module 'react-barcode';
@kciter Hi. Can you pulish the new merge to npm store?
@dor1202 1.4.2 published. https://www.npmjs.com/package/react-barcode
Currently, when using this library from npm, typescript cannot get the types declartion in this repo because the
types
field is not set. This fixes this by adding the the required field.