mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
Fixed signature of verifyClient.
This commit is contained in:
1 parent
af65f81664
commit
a417b07f5b
1 file changed
+2
-2
Vendored
+2
-2
@@ -91,8 +91,8 @@ declare module "ws" {
|
||||
port?: number;
|
||||
server?: http.Server;
|
||||
verifyClient?: {
|
||||
(info: {origin: string; secure: boolean; req: http.ClientRequest}): boolean;
|
||||
(info: {origin: string; secure: boolean; req: http.ClientRequest},
|
||||
(info: {origin: string; secure: boolean; req: http.ServerRequest}): boolean;
|
||||
(info: {origin: string; secure: boolean; req: http.ServerRequest},
|
||||
callback: (res: boolean) => void): void;
|
||||
};
|
||||
handleProtocols?: any;
|
||||
|
||||
Reference in new issue
Block a user