cspell-lib
Version:
A library of useful functions used across various cspell tools.
9 lines • 373 B
TypeScript
export interface FindUpOptions {
cwd?: string;
type?: 'file' | 'directory';
stopAt?: string;
}
type FindUpPredicate = (dir: string) => string | undefined | Promise<string | undefined>;
export declare function findUp(name: string | string[] | FindUpPredicate, options?: FindUpOptions): Promise<string | undefined>;
export {};
//# sourceMappingURL=findUp.d.ts.map