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