From 2feea6cdfb4fe5036997ac07b98437f7d973cc64 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Thu, 4 Jul 2024 10:10:39 -0400 Subject: [PATCH] types: Make TreeNode.key required Forwardport of c05c42d --- packages/primevue/src/treenode/TreeNode.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/treenode/TreeNode.d.ts b/packages/primevue/src/treenode/TreeNode.d.ts index 4fad17535..d0827ddac 100644 --- a/packages/primevue/src/treenode/TreeNode.d.ts +++ b/packages/primevue/src/treenode/TreeNode.d.ts @@ -13,7 +13,7 @@ export interface TreeNode { /** * Mandatory unique key of the node. */ - key?: string; + key: string; /** * Label of the node. */