-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Description
$ vue-tsc --noEmit && vite build
node_modules/@vueform/multiselect/src/Multiselect.d.ts:3:35 - error TS2507: Type 'typeof import("C:/Users/mikar/www/advweb-2.0/node_modules/vue/dist/vue")' is not a c
onstructor function type.
3 declare class Multiselect extends Vue {
~~~
Found 1 error.
import Vue,{ VNode } from 'vue';
declare class Multiselect extends Vue {
modelValue?: any;
value?: any;
mode: 'single'|'multiple'|'tags';
options?: any[];
searchable?: boolean;Version
- Vue version: 3
Description
When I run build command, throw this error, because vue3 export default Vue dont is not a constructor function type.
Demo
Please use JSFiddle template to reproduce the bug, but with vue3 and not vue2
Metadata
Metadata
Assignees
Labels
No labels