types: Make TreeNode.key required

Forwardport of c05c42d
pull/6011/head
Jacob Walls 2024-07-04 10:10:39 -04:00 committed by GitHub
parent 569ae35f98
commit 2feea6cdfb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export interface TreeNode {
/** /**
* Mandatory unique key of the node. * Mandatory unique key of the node.
*/ */
key?: string; key: string;
/** /**
* Label of the node. * Label of the node.
*/ */