Merge pull request #5330 from zhuyst/2.0

fix(table.d.ts): Add missing declare
This commit is contained in:
Aresn 2019-02-27 17:28:02 +08:00 committed by GitHub
commit b6885d1726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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