barcode-detector: Module type declaration not found
When importing barcode-detector/pure or barcode-detector/side-effects ts warns that the module or its corresponding type declaration cannot be found.
I’m not sure if this is because of my local ts environment or something else.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (6 by maintainers)
just a heads up for any SvelteKit users that might stumble upon this thread - SvelteKit 2.0 was just released and now this package works great out of the box!
no need - this will be fixed in SvelteKit 2.0
I’ve made a PR in your repo to solve this issue. It’s because nuxt is using
nodeas the defaultmoduleResolutionstrategy.bundleris recommended for future projects.refs: