-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
2.0.0-beta.13
Environment
Vue3.0 typescript
Reproduction link
https://2x.antdv.com/docs/vue/introduce-cn/
Steps to reproduce
import { createApp } from 'vue'
import App from '../App.vue'
import { Table } from 'ant-design-vue'
const app = createApp(App)
app.use(Table)What is expected?
正常引用
What is actually happening?
Argument of type '{ new (...args: any[]): { $: ComponentInternalInstance; $data: {}; $props: Partial<{ footer: (...args: any[]) => any; title: (...args: any[]) => any; onChange: (...args: any[]) => any; prefixCls: string; ... 16 more ...; onRowClick: (...args: any[]) => any; }> & Pick<...>; ... 10 more ...; $watch(source: string | Fu...' is not assignable to parameter of type 'Plugin_2'.
Property 'install' is missing in type '{ new (...args: any[]): { $: ComponentInternalInstance; $data: {}; $props: Partial<{ footer: (...args: any[]) => any; title: (...args: any[]) => any; onChange: (...args: any[]) => any; prefixCls: string; ... 16 more ...; onRowClick: (...args: any[]) => any; }> & Pick<...>; ... 10 more ...; $watch(source: string | Fu...' but required in type '{ install: PluginInstallFunction; }'.
runtime-core.d.ts(872, 5): 'install' is declared here.
