Commit Graph
5 Commits
Author SHA1 Message Date
Kevin Greene 5933d2c371 Merge remote-tracking branch 'upstream/master' into node-client 2017-10-31 15:08:10 -07:00
Andy 17f38a9945 baconjs: Make tests pass again (#21155) 2017-10-31 14:45:50 -07:00
Kevin Greene efe640dd2d [baconjs] Fix compile errors 2017-10-31 13:49:14 -07: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