GET.d.ts 454 B

12345678910
  1. import { RedisCommandArguments } from '@redis/client/dist/lib/commands';
  2. import { SampleRawReply, SampleReply } from '.';
  3. export declare const FIRST_KEY_INDEX = 1;
  4. export declare const IS_READ_ONLY = true;
  5. interface GetOptions {
  6. LATEST?: boolean;
  7. }
  8. export declare function transformArguments(key: string, options?: GetOptions): RedisCommandArguments;
  9. export declare function transformReply(reply: [] | SampleRawReply): null | SampleReply;
  10. export {};