From 8a16cfb4da734e577e99d4bc62f6b12c1f4db706 Mon Sep 17 00:00:00 2001 From: 2roy999 Date: Wed, 8 Jun 2016 09:23:36 +0300 Subject: [PATCH] making Connection.close() get optional arguments (#9554) --- autobahn/autobahn.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autobahn/autobahn.d.ts b/autobahn/autobahn.d.ts index 9ca4c562cc..97837b52d0 100644 --- a/autobahn/autobahn.d.ts +++ b/autobahn/autobahn.d.ts @@ -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;