mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
making Connection.close() get optional arguments (#9554)
This commit is contained in:
2
autobahn/autobahn.d.ts
vendored
2
autobahn/autobahn.d.ts
vendored
@@ -181,7 +181,7 @@ declare namespace autobahn {
|
||||
|
||||
open(): void;
|
||||
|
||||
close(reason: string, message: string): void;
|
||||
close(reason?: string, message?: string): void;
|
||||
|
||||
onopen: (session: Session, details: any) => void;
|
||||
onclose: (reason: string, details: any) => boolean;
|
||||
|
||||
Reference in New Issue
Block a user