You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
17 lines
404 B
TypeScript
17 lines
404 B
TypeScript
// import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
// export function transformArguments(
|
|
// dump: RedisCommandArgument,
|
|
// mode?: 'FLUSH' | 'APPEND' | 'REPLACE'
|
|
// ): RedisCommandArguments {
|
|
// const args = ['FUNCTION', 'RESTORE', dump];
|
|
|
|
// if (mode) {
|
|
// args.push(mode);
|
|
// }
|
|
|
|
// return args;
|
|
// }
|
|
|
|
// export declare function transformReply(): 'OK';
|