Skip to content

Commit

Permalink
chore: use old tree common before refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Oct 18, 2023
1 parent 6db13e5 commit 3a3be2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type OptionData = {
} & PlainObject;

export type TreeOptionData<T = string | number> = {
children?: Array<TreeOptionData<T>>;
children?: Array<TreeOptionData<T>> | boolean;
/** option label content */
label?: string | TNode;
/** option search text */
Expand Down

0 comments on commit 3a3be2c

Please sign in to comment.