mirror of
https://github.com/flynx/types.js.git
synced 2025-10-28 10:00:08 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
c8a8184221
commit
11d5650cae
@ -1388,6 +1388,7 @@ object.Mixin('PromiseMixin', 'soft', {
|
||||
// XXX should we just check for .then(..) ???
|
||||
// XXX update README if this changes...
|
||||
: (data.length == 1
|
||||
&& data[0]
|
||||
&& data[0][Symbol.asyncIterator]
|
||||
&& data[0].then) ?
|
||||
data[0].then(func, ...error)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-types",
|
||||
"version": "6.25.3",
|
||||
"version": "6.25.4",
|
||||
"description": "Generic JavaScript types and type extensions...",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user