mirror of
https://github.com/cp6/my-idlers.git
synced 2024-11-16 23:42:32 +01:00
fd22b0bf58
V2 (Laravel re-make)
5 lines
371 B
TypeScript
5 lines
371 B
TypeScript
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
|