mirror of
https://github.com/flynx/types.js.git
synced 2025-10-29 02:20:07 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5d558b35b6
commit
9b542d91f5
@ -853,7 +853,7 @@ object.Constructor('SyncPromise', Promise, {
|
||||
this.constructor.reject(
|
||||
reject ?
|
||||
reject(this.error)
|
||||
: this.error) }
|
||||
: this.error)
|
||||
: resolve ?
|
||||
this.constructor.resolve(
|
||||
resolve(this.value))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user