diff --git a/src/cache/create.ts b/src/cache/create.ts index 4ebbdda..50111a6 100644 --- a/src/cache/create.ts +++ b/src/cache/create.ts @@ -7,6 +7,8 @@ import { defaultKeyGenerator } from '../util/key-generator'; import type { AxiosCacheInstance } from './axios'; import type { CacheInstance, CacheProperties } from './cache'; +export type CacheOptions = Partial & Partial; + /** * Apply the caching interceptors for a already created axios instance. * @@ -58,5 +60,3 @@ export function useCache( return axiosCache; } - -export type CacheOptions = Partial & Partial;