diff --git a/autobahn/autobahn.d.ts b/autobahn/autobahn.d.ts index 6debcca7c9..7d5589dad5 100644 --- a/autobahn/autobahn.d.ts +++ b/autobahn/autobahn.d.ts @@ -4,7 +4,6 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped /// -/// declare module autobahn { @@ -194,7 +193,7 @@ declare module autobahn { type: string; } - type DeferFactory = () => JQueryPromise; + type DeferFactory = () => When.Promise; type OnChallengeHandler = (session: Session, method: string, extra: any) => When.Promise;