fix(table.d.ts): Add missing declare

This commit is contained in:
zhuyst 2019-02-25 17:30:30 +08:00
parent d893ebdc1d
commit 7f85ffbf72

15
types/table.d.ts vendored
View file

@ -106,6 +106,11 @@ export declare interface Table extends Vue {
* selection * selection
*/ */
$emit(eventName: "on-select-all", selection: object[]): this; $emit(eventName: "on-select-all", selection: object[]): this;
/**
*
* selection
*/
$emit(eventName: "on-select-all-cancel", selection: object[]): this;
/** /**
* *
* selection * selection
@ -250,6 +255,16 @@ export declare interface TableColumn {
h?: CreateElement, h?: CreateElement,
params?: TableColumnRenderHeadParams params?: TableColumnRenderHeadParams
) => VNode; ) => VNode;
/**
* type index
* @param row
*/
indexMethod?: (row?: object) => string | number;
/**
* 使 slot-scope
* slot Table slot 使 slot-scope
*/
slot?: string;
/** /**
* custom * custom
* Table on- sort - change ,false * Table on- sort - change ,false