Skip to content

Commit

Permalink
fix(QTree): incorrect type for tickStrategy (#17618)
Browse files Browse the repository at this point in the history
The supported types are 'none', 'strict', 'leaf' and 'leaf-filtered'.

Type 'string' here is most likely a mistake.
  • Loading branch information
delphi-sucks authored Nov 5, 2024
1 parent b312f52 commit de5fb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/types/api/qtree.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export type QTreeNode<TExtra = unknown> = Omit<
handler?: (node: QTreeNode<TExtra>) => void;
tickable?: boolean;
noTick?: boolean;
tickStrategy?: "leaf" | "leaf-filtered" | "string" | "none";
tickStrategy?: "leaf" | "leaf-filtered" | "strict" | "none";
lazy?: boolean;
header?: string;
body?: string;
Expand Down

0 comments on commit de5fb17

Please sign in to comment.