Skip to content

Commit d4e7b59

Browse files
committed
fix: table missing type Plugin #3104
1 parent 2e61e9c commit d4e7b59

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

components/table/index.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { App, defineComponent } from 'vue';
1+
import { App, defineComponent, Plugin } from 'vue';
22
import T, { defaultTableProps } from './Table';
33
import Column from './Column';
44
import ColumnGroup from './ColumnGroup';
@@ -94,7 +94,8 @@ Table.install = function(app: App) {
9494
return app;
9595
};
9696

97-
export default Table as typeof Table & {
98-
readonly Column: typeof Column;
99-
readonly ColumnGroup: typeof ColumnGroup;
100-
};
97+
export default Table as typeof Table &
98+
Plugin & {
99+
readonly Column: typeof Column;
100+
readonly ColumnGroup: typeof ColumnGroup;
101+
};

0 commit comments

Comments
 (0)