types: Make TreeNode.key required
parent
401dd22567
commit
c05c42d253
|
@ -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