mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
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
This commit is contained in:
Vendored
+1
-2
@@ -4,7 +4,6 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../when/when.d.ts" />
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
declare module autobahn {
|
||||
|
||||
@@ -194,7 +193,7 @@ declare module autobahn {
|
||||
type: string;
|
||||
}
|
||||
|
||||
type DeferFactory = () => JQueryPromise<any>;
|
||||
type DeferFactory = () => When.Promise<any>;
|
||||
|
||||
type OnChallengeHandler = (session: Session, method: string, extra: any) => When.Promise<string>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user