mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-24 07:25:40 -06:00
6 lines
213 B
TypeScript
6 lines
213 B
TypeScript
|
export interface TreeData {
|
||
|
parentById: Record<string, string>;
|
||
|
childrenById: Record<string, string[]>;
|
||
|
}
|
||
|
export declare const findCommonAncestor: (id1: string, id2: string, treeData: TreeData) => string;
|