UNPKG

axios-cache-interceptor

Version:
10 lines 505 B
/*! * Axios Cache Interceptor 1.7.0 * (c) 2021-present Arthur Fiorette & Contributors * Released under the MIT License. */ import type { CacheAxiosResponse } from '../cache/axios.js'; import type { CachePredicate } from './types.js'; /** Tests an response against a {@link CachePredicateObject}. */ export declare function testCachePredicate<R = unknown, D = unknown>(response: CacheAxiosResponse<R, D>, predicate: CachePredicate<R, D>): Promise<boolean>; //# sourceMappingURL=cache-predicate.d.ts.map