From f505d870ffb00e8c4e5f88ada8b86ab70bf9d506 Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Mon, 11 Jan 2016 23:16:59 -0500 Subject: [PATCH] Remove dependence on jquery.d.ts jQuery declares a global var `$` which makes it potentially conflict with other declarations, for example angular-protractor autobahn.d.ts doesn't need to depend on jquery.d.ts since the only thing it used, JqueryPromise, can be replaced with when.Promise --- autobahn/autobahn.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autobahn/autobahn.d.ts b/autobahn/autobahn.d.ts index 6debcca7c..7d5589dad 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;