Git Product home page Git Product logo

Comments (3)

gruhn avatar gruhn commented on June 2, 2024 1

although I don't know what is referred to with 5.5.0...

That's a legit version. Maybe confusing because the most recently released version (v3.2.0) is not the most recent version (v5.5.3). v3.2.0 was a minor update for a legacy version (that still has Vue 2 support): https://github.com/gruhn/vue-qrcode-reader/releases

It would be great if you can include the types in the bundle again and maybe update the docs to reflect correct usage of the respective types for integrating the library.

I agree. But I'm very confused by the interplay of NPM+TypeScript+Vite. If you know to properly configure this and would like to help, I'd gladly merge your PR 🙂

from vue-qrcode-reader.

jarekcieslak avatar jarekcieslak commented on June 2, 2024

I can confirm that something is off with the types. They are no longer exported e.g.dist/components/QrcodeStream.vue.d.ts:

declare const _default: any;
export default _default;

from vue-qrcode-reader.

gruhn avatar gruhn commented on June 2, 2024

Yeah, I don't know why there are no proper .d.ts files. In principle vite-plugin-dts should take care of that I guess:

plugins: [vue(), dts()],

Maybe it's struggling with .vue files.

from vue-qrcode-reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.