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)

Most upvoted comments

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!

@ollema Could you please provide a minimal setup so I can take a look?

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 node as the default moduleResolution strategy. bundler is recommended for future projects.

refs: