UNPKG

@wora/apollo-cache

Version:
12 lines 488 B
import { InMemoryCache, InMemoryCacheConfig } from 'apollo-cache-inmemory'; import { Cache, ICache, CacheOptions } from '@wora/cache-persist'; interface IPersistImpl { hydrate(): Promise<ICache>; } export declare class ApolloCache extends InMemoryCache implements IPersistImpl { cache: Cache; constructor(options?: InMemoryCacheConfig, persistOptions?: CacheOptions); hydrate(): Promise<ICache>; } export default ApolloCache; //# sourceMappingURL=index.d.ts.map