minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-02-08 03:22:42 +03:00
parent c8a8184221
commit 11d5650cae
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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": {