You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
12 lines
271 B
TypeScript
12 lines
271 B
TypeScript
export function transformArguments(path: string, moduleArgs?: Array<string>): Array<string> {
|
|
const args = ['MODULE', 'LOAD', path];
|
|
|
|
if (moduleArgs) {
|
|
args.push(...moduleArgs);
|
|
}
|
|
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): string;
|