1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00
Files
2021-12-20 14:47:51 -05:00

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 transformReply(): RESPReply;