From 58085f5c6772715c37ca2f1e905a192d7f14ca09 Mon Sep 17 00:00:00 2001 From: Andrii Bakal Date: Tue, 5 Sep 2017 20:13:46 +0300 Subject: [PATCH] OnChallengeHandler return type --- types/autobahn/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/autobahn/index.d.ts b/types/autobahn/index.d.ts index 3c576e2dc8..7f01a53e3a 100644 --- a/types/autobahn/index.d.ts +++ b/types/autobahn/index.d.ts @@ -205,7 +205,7 @@ declare namespace autobahn { type DeferFactory = () => When.Promise; - type OnChallengeHandler = (session: Session, method: string, extra: any) => When.Promise; + type OnChallengeHandler = (session: Session, method: string, extra: any) => string; interface IConnectionOptions { use_es6_promises?: boolean;