2.0.2 • Published 6 months ago
@types/lowest-common-ancestor v2.0.2
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
// Type definitions for lowest-common-ancestor 2.0
// Project: https://gitlab.com/sebdeckers/lowest-common-ancestor#README
// Definitions by: Cameron Hunter <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* 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: Sun, 29 Aug 2021 22:01:22 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Cameron Hunter.