Closed JaccoGoris closed 6 months ago
I noticed the types in the package.json file are pointing to src/, but only lib is packaged on NPM, so types can't be found when using it:
src/
snippet from package.json
"main": "lib/react-barcode.js", "types": "src/index.d.ts",
I'll make a PR for this soon :)
https://github.com/kciter/react-barcode/pull/75
I noticed the types in the package.json file are pointing to
src/
, but only lib is packaged on NPM, so types can't be found when using it:snippet from package.json
I'll make a PR for this soon :)