mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Slight update to q.d.ts to reflect current limitations in TypeScript.
This commit is contained in:
1 parent
91a4452e37
commit
d4b888e50f
1 file changed
+2
-2
@@ -3,8 +3,8 @@
|
||||
// Definitions by: Barrie Nemetchek, Andrew Gaspar
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare function Q<T>(value: T): Q.Promise<T>;
|
||||
//declare function Q<T>(value: Q.Promise<T>): Q.Promise<T>
|
||||
declare function Q<T>(value): Q.Promise<T>;
|
||||
|
||||
declare module Q {
|
||||
interface Deferred<T> {
|
||||
promise: Promise<T>;
|
||||
|
||||
Reference in new issue
Block a user