seangwright / typescript-functional-extensions

A TypeScript implementation of the C# library CSharpFunctionalExtensions, including synchronous and asynchronous Maybe and Result monads.
MIT License
33 stars 4 forks source link

feat(api): pass error to bindFailure & bindFailureAsync projection #23

Open nullNaNNaN opened 12 months ago

nullNaNNaN commented 12 months ago

Updates bindFailure and bindFailureAsync so projection is called with current monads error. Also updates typings of those projections.

GregOnNet commented 5 months ago

@seangwright looks good to me. 👍

seangwright commented 5 months ago

@nullNaNNaN @GregOnNet oops! I missed this last year. I'll take a look and try to get this merged in this week/end.

Thanks!