You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
fix #1650 - add support for Buffer in some commands, add GET_BUFFER command
This commit is contained in:
2
lib/ts-declarations/cluster-key-slot.d.ts
vendored
2
lib/ts-declarations/cluster-key-slot.d.ts
vendored
@@ -1,3 +1,3 @@
|
||||
declare module 'cluster-key-slot' {
|
||||
export default function calculateSlot(key: string): number;
|
||||
export default function calculateSlot(key: string | Buffer): number;
|
||||
}
|
||||
|
2
lib/ts-declarations/redis-parser.d.ts
vendored
2
lib/ts-declarations/redis-parser.d.ts
vendored
@@ -8,6 +8,8 @@ declare module 'redis-parser' {
|
||||
export default class RedisParser {
|
||||
constructor(callbacks: RedisParserCallbacks);
|
||||
|
||||
setReturnBuffers(returnBuffers?: boolean): void;
|
||||
|
||||
execute(buffer: Buffer): void;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user