Q:jQueryPromise converted implicitly to Q promise

This commit is contained in:
John Reilly
2013-11-26 17:39:54 +00:00
parent 9465c4ffaa
commit fa6f389191
Vendored
+4 -1
View File
@@ -3,8 +3,11 @@
// Definitions by: Barrie Nemetchek, Andrew Gaspar
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare function Q<T>(value: T): Q.Promise<T>;
/// <reference path="../jquery/jquery.d.ts"/>
declare function Q<T>(promise: Q.IPromise<T>): Q.Promise<T>;
declare function Q<T>(promise: JQueryPromise<T>): Q.Promise<T>;
declare function Q<T>(value: T): Q.Promise<T>;
declare module Q {
interface IPromise<T> {