securityos/node_modules/next/dist/lib/find-config.d.ts

7 lines
314 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
type RecursivePartial<T> = {
[P in keyof T]?: RecursivePartial<T[P]>;
};
export declare function findConfigPath(dir: string, key: string): Promise<string | undefined>;
export declare function findConfig<T>(directory: string, key: string, _returnFile?: boolean): Promise<RecursivePartial<T> | null>;
export {};