Skip to content

Commit

Permalink
types: Make TreeNode.key required
Browse files Browse the repository at this point in the history
Forwardport of c05c42d
  • Loading branch information
jacobtylerwalls authored Jul 4, 2024
1 parent 569ae35 commit 2feea6c
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 2feea6c

Please sign in to comment.