lix-website/themes/lix/assets/bootstrap/node_modules/cosmiconfig/dist/cacheWrapper.d.ts

5 lines
371 B
TypeScript
Raw Permalink Normal View History

2024-04-27 03:39:10 +00:00
import { Cache, CosmiconfigResult } from './types';
declare function cacheWrapper(cache: Cache, key: string, fn: () => Promise<CosmiconfigResult>): Promise<CosmiconfigResult>;
declare function cacheWrapperSync(cache: Cache, key: string, fn: () => CosmiconfigResult): CosmiconfigResult;
export { cacheWrapper, cacheWrapperSync };
//# sourceMappingURL=cacheWrapper.d.ts.map