From d4e7b59f235362b23ab0b0ab037f81159c4bf5ee Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Wed, 4 Nov 2020 22:08:51 +0800 Subject: [PATCH] fix: table missing type `Plugin` #3104 --- components/table/index.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/components/table/index.tsx b/components/table/index.tsx index a096b6df4..427f8908b 100644 --- a/components/table/index.tsx +++ b/components/table/index.tsx @@ -1,4 +1,4 @@ -import { App, defineComponent } from 'vue'; +import { App, defineComponent, Plugin } from 'vue'; import T, { defaultTableProps } from './Table'; import Column from './Column'; import ColumnGroup from './ColumnGroup'; @@ -94,7 +94,8 @@ Table.install = function(app: App) { return app; }; -export default Table as typeof Table & { - readonly Column: typeof Column; - readonly ColumnGroup: typeof ColumnGroup; -}; +export default Table as typeof Table & + Plugin & { + readonly Column: typeof Column; + readonly ColumnGroup: typeof ColumnGroup; + };