1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-10 11:43:01 +03:00
Files
node-redis/packages/json/lib/commands/RESP.ts

16 lines
328 B
TypeScript

export const FIRST_KEY_INDEX = 1;
export function transformArguments(key: string, path?: string): Array<string> {
const args = ['JSON.RESP', key];
if (path) {
args.push(path);
}
return args;
}
type RESPReply = Array<string | number | RESPReply>;
export declare function transfromReply(): RESPReply;