mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 03:31:47 +00:00
Client constructor still accepts a string
This commit is contained in:
Vendored
+1
-1
@@ -93,7 +93,7 @@ export class Pool extends events.EventEmitter {
|
||||
}
|
||||
|
||||
export class Client extends events.EventEmitter {
|
||||
constructor(config: ClientConfig);
|
||||
constructor(config: string | ClientConfig);
|
||||
|
||||
connect(): Promise<void>;
|
||||
connect(callback: (err: Error) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user