fix: table missing type `Plugin` #3104

pull/3128/head
Amour1688 4 years ago
parent 2e61e9cb50
commit d4e7b59f23

@ -1,4 +1,4 @@
import { App, defineComponent } from 'vue'; import { App, defineComponent, Plugin } from 'vue';
import T, { defaultTableProps } from './Table'; import T, { defaultTableProps } from './Table';
import Column from './Column'; import Column from './Column';
import ColumnGroup from './ColumnGroup'; import ColumnGroup from './ColumnGroup';
@ -94,7 +94,8 @@ Table.install = function(app: App) {
return app; return app;
}; };
export default Table as typeof Table & { export default Table as typeof Table &
Plugin & {
readonly Column: typeof Column; readonly Column: typeof Column;
readonly ColumnGroup: typeof ColumnGroup; readonly ColumnGroup: typeof ColumnGroup;
}; };

Loading…
Cancel
Save