-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vue is not a constructor function type #83
Comments
I'm not sure where the problem is exactly but removing
|
I am having the same problem. Could it be reopened? |
In case if you're wondering: import Vue, { VNode, defineComponent } from 'vue';
declare class Multiselect implements ReturnType<typeof defineComponent> {
// ... Since I have no idea how that would affect Vue 2 support, that's probably not something worth a pull-request, though. |
Hi @adamberecz, could you please take a look at solution from @cyberillithid? I can't build my project and removing vue-tsc is not an option |
@otezz I had the same problem while using the multiselect in my Typescript Vue3 project. Removing At first the build was not possible because of @adamberecz would that be a possibility for your repo aswell? |
Hi, I'm getting an error when I try to use this in my Vue 3 project. The error is in the description section of this issue.
Are you sure this multiselect component works in Vue 3? From this blog post (https://labs.thisdot.co/blog/your-first-vue-3-app-using-typescript), it appears something like this might be necessary in a
shim-vue.d.ts
file:I'm new to Vue so I'm not really sure what is going on here.
Version
Description
Demo
I'm unable to use the JSFiddle template to reproduce the bug because I don't know how to get multiselect installed in that template.
The text was updated successfully, but these errors were encountered: