Skip to content

Commit

Permalink
Merge pull request #5835 from jacobtylerwalls/require-key
Browse files Browse the repository at this point in the history
types: Make TreeNode.key required
  • Loading branch information
tugcekucukoglu authored Jun 7, 2024
2 parents 4e476df + c05c42d commit 1f25f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/treenode/TreeNode.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface TreeNode {
/**
* Mandatory unique key of the node.
*/
key?: string;
key: string;
/**
* Label of the node.
*/
Expand Down

0 comments on commit 1f25f45

Please sign in to comment.