Current section

Files

Jump to
spellweaver priv bun node_modules cspell-lib dist lib util findUp.d.ts
Raw

priv/bun/node_modules/cspell-lib/dist/lib/util/findUp.d.ts

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