simple-vue-camera icon indicating copy to clipboard operation
simple-vue-camera copied to clipboard

Build Error

Open zsivhabu opened this issue 2 years ago • 2 comments

src/components/meeting/Overview.vue:307:12 - error TS2322: Type '{ resolution: { width: number; height: number; }; ref: ({ $: ComponentInternalInstance; $data: {}; $props: Partial<{ resolution: Resolution; facingMode: string; autoplay: boolean; playsinline: boolean; }> & Omit<...>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...ar...' is not assignable to type 'Record<string, unknown> & { $: ComponentInternalInstance; $data: {}; $props: Partial<{ resolution: Resolution; facingMode: string; autoplay: boolean; playsinline: boolean; }> & Omit<...>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0:...'. Type '{ resolution: { width: number; height: number; }; ref: ({ $: ComponentInternalInstance; $data: {}; $props: Partial<{ resolution: Resolution; facingMode: string; autoplay: boolean; playsinline: boolean; }> & Omit<...>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...ar...' is missing the following properties from type '{ $: ComponentInternalInstance; $data: {}; $props: Partial<{ resolution: Resolution; facingMode: string; autoplay: boolean; playsinline: boolean; }> & Omit<...>; ... 10 more ...; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (....': $, $data, $props, $attrs, and 10 more.

zsivhabu avatar Feb 28 '23 01:02 zsivhabu

Are you using Vue 3?

BastiaanJansen avatar Feb 28 '23 11:02 BastiaanJansen

Yes, I'm using vue3 + vite

zsivhabu avatar Feb 28 '23 20:02 zsivhabu