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;