cache-in-memory.d.ts 317 B

123456789101112
  1. import { Cache } from '@algolia/cache-common';
  2. export declare function createInMemoryCache(options?: InMemoryCacheOptions): Cache;
  3. export declare type InMemoryCacheOptions = {
  4. /**
  5. * If keys and values should be serialized using `JSON.stringify`.
  6. */
  7. readonly serializable?: boolean;
  8. };
  9. export { }