Skip to content

Return `never` rather than `unknown` for error type of `ResultAsync.fromSafePromise`

Compare
Choose a tag to compare
@supermacro supermacro released this 09 Oct 19:22
· 56 commits to master since this release

Thank you to @ccjmne @lmcsu and @msheakoski for this improvement πŸ™

This release ships #425 - which ensures that the E type for ResultAsync.fromSafePromise is never by default - which makes a lot more sense / is more a "accurate" depiction of runtime behaviour.