UNPKG

371 BTypeScriptView Raw
1import { Cache, CosmiconfigResult } from './types';
2declare function cacheWrapper(cache: Cache, key: string, fn: () => Promise<CosmiconfigResult>): Promise<CosmiconfigResult>;
3declare function cacheWrapperSync(cache: Cache, key: string, fn: () => CosmiconfigResult): CosmiconfigResult;
4export { cacheWrapper, cacheWrapperSync };
5//# sourceMappingURL=cacheWrapper.d.ts.map
\No newline at end of file