DefinitelyTyped/q
Eric Wieser 667d77f21c Improve support for arrays of promises (#11685)
* Alias IWhenable<T> = IPromise<T> | T

* Allow all Q functions to work with either promises or raw values

* Allow functions expecting arrays to take promises for arrays

Q.race is deliberately excluded, as this does not support this type of argument.
2016-10-04 11:56:34 -07:00
..
Q-tests.ts Improve support for arrays of promises (#11685) 2016-10-04 11:56:34 -07:00
Q.d.ts Improve support for arrays of promises (#11685) 2016-10-04 11:56:34 -07:00