@berish/serber
Version:
Serializable and deserializable adaptive adapter with plugins
6 lines (5 loc) • 371 B
TypeScript
declare type KeyType = symbol | string | number;
export declare function equalPaths(path1: KeyType[], path2: KeyType[]): any;
export declare function relativePath(path1: KeyType[], path2: KeyType[]): (string | number | symbol)[];
export declare function getAbsolutePathByRelative(currentPath: KeyType[], relativePath: KeyType[]): (string | number | symbol)[];
export {};