UNPKG

@sanity-codegen/cli

Version:
15 lines 569 B
interface Options { filenameIfNotFound: string; startingPoint: string; } /** * Given a starting point and a back up filename, this function will first check * to see if there is a file at the starting point. If so it will return the * resolved version of that file. * * Otherwise it will walk up the file tree looking for the given filename if a * file was not found at the starting point. */ export declare function fileWalker({ startingPoint, filenameIfNotFound, }: Options): Promise<string | null>; export {}; //# sourceMappingURL=file-walker.d.ts.map