@roxi/routify
Version:
4 lines (3 loc) • 332 B
TypeScript
export function assignNode(target: RNodeRuntime, ...sources: RNodeRuntime[]): RNodeRuntime;
export function findNearestParent(node: RNodeRuntime, callback: (arg0: RNodeRuntime["parent"]) => any): RNodeRuntime["parent"] | undefined;
export function getDistance(parentNode: RNodeRuntime, childNode: RNodeRuntime): number | undefined;