UNPKG

cosmiconfig

Version:

Find and load configuration from a package.json property, rc file, TypeScript module, and more!

5 lines 371 B
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