Home > utils > TreeDataChildrenPropName
Signature:
export declare type TreeDataChildrenPropName<TNode extends TreeDataNode> = {
[K in keyof TNode]: TNode[K] extends TreeDataData<TNode> ? K : never;
}[keyof TNode];
References: TreeDataNode, TreeDataData