Fixed #4608 - Tree: Invalid typing of the default slot

pull/4572/head
Tuğçe Küçükoğlu 2023-10-13 15:24:54 +03:00
parent df4b10b880
commit bd09b6f8d8
1 changed files with 6 additions and 1 deletions

View File

@ -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.