seangwright / typescript-functional-extensions

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

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

Open nullNaNNaN opened 1 year ago

nullNaNNaN commented 1 year ago

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

GregOnNet commented 8 months ago

@seangwright looks good to me. 👍

seangwright commented 8 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!