UNPKG

@redocly/theme

Version:

Shared UI components lib

7 lines (6 loc) 253 B
/** * Finds the closest common directory for a set of file paths. * @param paths - An array of absolute file paths. * @returns The closest common directory as a string. */ export declare function findClosestCommonDirectory(paths: string[]): string;