diff --git a/components/lib/treeselect/TreeSelect.d.ts b/components/lib/treeselect/TreeSelect.d.ts index 407b1c09e..c52cc101c 100644 --- a/components/lib/treeselect/TreeSelect.d.ts +++ b/components/lib/treeselect/TreeSelect.d.ts @@ -9,6 +9,7 @@ */ import { InputHTMLAttributes, TransitionProps, VNode } from 'vue'; import { ComponentHooks } from '../basecomponent'; +import { ChipPassThroughOptions } from '../chip'; import { PassThroughOptions } from '../passthrough'; import { TreeExpandedKeys, TreePassThroughOptions } from '../tree'; import { TreeNode } from '../treenode'; @@ -84,9 +85,10 @@ export interface TreeSelectPassThroughOptions { */ token?: TreeSelectPassThroughOptionType; /** - * Used to pass attributes to the token label's DOM element. + * Used to pass attributes to the Chip. + * @see {@link ChipPassThroughOptions} */ - tokenLabel?: TreeSelectPassThroughOptionType; + tokenLabel?: ChipPassThroughOptions; /** * Used to pass attributes to the trigger's DOM element. */ diff --git a/components/lib/treeselect/TreeSelect.vue b/components/lib/treeselect/TreeSelect.vue index ffe72d09e..6127c3527 100644 --- a/components/lib/treeselect/TreeSelect.vue +++ b/components/lib/treeselect/TreeSelect.vue @@ -30,7 +30,7 @@ @@ -106,6 +106,7 @@