Closed vmalyi closed 5 years ago
To avoid "Unable to infer complex closure return type; add explicit type to disambiguate" error (#84), an explicit Promise closure return type has been added wherever needed.
Thank you for the PR! Left a couple of comments for the then code snippets.
then
Closing as it doesn't appear these changes are needed since the compiler can infer the closure type.
To avoid "Unable to infer complex closure return type; add explicit type to disambiguate" error (#84), an explicit Promise closure return type has been added wherever needed.