Installation
npm install --save @types/lowest-common-ancestor
Summary
This package contains type definitions for lowest-common-ancestor (https://gitlab.com/sebdeckers/lowest-common-ancestor#README).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lowest-common-ancestor.
index.d.ts
/**
* Finds the deepest shared file path.
* The OS-dependent directory separator (e.g. `/` or `\`) is respected.
*
* @param filepaths Multiple relative or absolute file system paths.
*/
export function lowestCommonAncestor(...filepaths: string[]): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 0939 GMT
- Dependencies: none
Credits
These definitions were written by Cameron Hunter.