mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Slight update to q.d.ts to reflect current limitations in TypeScript.
This commit is contained in:
@@ -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