You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
23 lines
462 B
TypeScript
23 lines
462 B
TypeScript
// import { RedisCommandArguments } from '.';
|
|
|
|
// interface FunctionLoadOptions {
|
|
// REPLACE?: boolean;
|
|
// }
|
|
|
|
// export function transformArguments(
|
|
// code: string,
|
|
// options?: FunctionLoadOptions
|
|
// ): RedisCommandArguments {
|
|
// const args = ['FUNCTION', 'LOAD'];
|
|
|
|
// if (options?.REPLACE) {
|
|
// args.push('REPLACE');
|
|
// }
|
|
|
|
// args.push(code);
|
|
|
|
// return args;
|
|
// }
|
|
|
|
// export declare function transformReply(): string;
|