Commit Graph

3 Commits

Author SHA1 Message Date
Leonard Thieu
1c3565933c :( 2017-06-13 13:00:42 -04:00
Joonas Javanainen
b4da397a4f baconjs: doLog accepts a label, use PromiseLike in fromPromise (#16292)
* doLog accepts a label

* Use PromiseLike instead of Promise in fromPromise functions

Bacon accepts Promises/A+ -compatible promises that have just the .then
function, so the full Promise type is not actually required.

This also removes the need for the JQueryXHR special case, because
JQueryXHR is compatible with PromiseLike.

* Restore JQueryXHR special case to fromPromise

With strictNullChecks JQueryXHR is not compatible with PromiseLike.
The baconjs typings don't have strictNullChecks at the moment, so tsc
didn't catch this...

* Flatten contributors' list
2017-05-03 12:52:09 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00