Fixed #4608 - Tree: Invalid typing of the default slot
parent
df4b10b880
commit
bd09b6f8d8
|
@ -350,7 +350,12 @@ export interface TreeSlots {
|
||||||
/**
|
/**
|
||||||
* Default content slot.
|
* Default content slot.
|
||||||
*/
|
*/
|
||||||
default(): VNode[];
|
default(scope: {
|
||||||
|
/**
|
||||||
|
* Tree node instance
|
||||||
|
*/
|
||||||
|
node: TreeNode;
|
||||||
|
}): VNode[];
|
||||||
/**
|
/**
|
||||||
* Custom loading icon template.
|
* Custom loading icon template.
|
||||||
* @param {Object} scope - loadingicon slot's params.
|
* @param {Object} scope - loadingicon slot's params.
|
||||||
|
|
Loading…
Reference in New Issue