Skip to content

Commit

Permalink
Merge pull request #6011 from jacobtylerwalls/require-key-treenode-v4
Browse files Browse the repository at this point in the history
types: Make TreeNode.key required
  • Loading branch information
tugcekucukoglu authored Jul 22, 2024
2 parents 488ff85 + 2feea6c commit 14e1f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/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 14e1f6f

Please sign in to comment.