Git Product home page Git Product logo

Comments (5)

leifcr avatar leifcr commented on July 22, 2024 1

@danielhgasparin If you are good at typescript definitions, please review #19

from multiselect.

yaquawa avatar yaquawa commented on July 22, 2024 1

@adamberecz I can confirm that Vetur won't give any useful info for custom component in components, that was surprising me too...

For the moment I could suppress the ts complier error by adding a declaration for the package.

declare module '@vueform/multiselect' {}

But, still I'm looking forward it can be typescriptized, because this is the best vue3 mutiselect component I can find in the market :) Thanks for the great work really !

from multiselect.

danielhgasparin avatar danielhgasparin commented on July 22, 2024

Approved. I'm not an expert in Typescript, but tested on my project and worked well.

I didn't validate every properties and events of the component, though. But the typescript and intelisense recognized the type and compiled well.

from multiselect.

yaquawa avatar yaquawa commented on July 22, 2024

I'm wondering will this project switch to ts in the near future? nowadays ts is a must have option I think.

from multiselect.

adamberecz avatar adamberecz commented on July 22, 2024

Help me out here. If Typescript is added sure it helps the development of the library, but what's in it for the end user? I'm trying to test this implementation in VSCode with Vetur but a) it does not suggest properties when using the component in <template> b) it doesn't throw a compile error when defining invalid props (except for the built-in Vue prop typechecking at runtime). So what's the point? The only benefit I can see is this. Is that all?

from multiselect.

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.