Merge pull request #5835 from jacobtylerwalls/require-key
types: Make TreeNode.key requiredpull/5858/head
commit
1f25f45c01
|
@ -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.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue