Open jstasiak opened 1 month ago
Note to self: once that compiles make sure the type of resultAfterOrElse
is all right, something like
eq<typeof resultAfterOrElse, Result<number, string>>(true)
probably
TypeScript 5.6.2 and ts-results-es 4.2.0 BTW.
Same for Result.or
.
With the latest released version (4.2.0) and the development version from the master branch this code
will fail to compile:
so it seems that
Result.orElse
has been broken for a while.