mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Update createClient method to better adhere to docs
See: https://github.com/mranney/node_redis#rediscreateclient
This commit is contained in:
1 parent
e9ddb4f840
commit
67762b3951
1 file changed
+3
-1
Vendored
+3
-1
@@ -6,7 +6,9 @@
|
||||
// Imported from: https://github.com/soywiz/typescript-node-definitions/redis.d.ts
|
||||
|
||||
declare module "redis" {
|
||||
export function createClient(port_arg: number, host_arg: string, options: ClientOpts): RedisClient;
|
||||
export function createClient(port_arg: number, host_arg?: string, options?: ClientOpts): RedisClient;
|
||||
export function createClient(unix_socket: string, options?: ClientOpts): RedisClient;
|
||||
export function createClient(options?: ClientOpts): RedisClient;
|
||||
export function print(err: Error, reply: any): void;
|
||||
export var debug_mode: boolean;
|
||||
|
||||
|
||||
Reference in new issue
Block a user