diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 16:03:44 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-20 16:17:48 -0700 |
commit | 9e220eca4545982df83ffcaa66a9b050a3d6f24e (patch) | |
tree | a735fed0f50dec0083dac9284f45db73af1afea8 /u/types/fn/either.ts | |
parent | 2e10e9172f8528868b70886335dbbe20f932f702 (diff) | |
download | ci-9e220eca4545982df83ffcaa66a9b050a3d6f24e.tar.gz ci-9e220eca4545982df83ffcaa66a9b050a3d6f24e.zip |
Fixes silent failures
Diffstat (limited to 'u/types/fn/either.ts')
-rw-r--r-- | u/types/fn/either.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/u/types/fn/either.ts b/u/types/fn/either.ts index 80f32b4..5e2dca0 100644 --- a/u/types/fn/either.ts +++ b/u/types/fn/either.ts @@ -26,7 +26,7 @@ export interface IEither<E, T> extends Tagged<IEitherTag> { readonly moveRight: <_T>(t: _T) => IEither<E, _T>; readonly fold: <_T>(leftFolder: Mapper<E, _T>, rightFolder: Mapper<T, _T>) => _T; - readonly joinRight: <O, _T>(other: IEither<E, O>, mapper: BiMapper<O, T, _T>) => IEither<E, _T>; + readonly joinRight: <O, _T>(other: IEither<E, O>, mapper: (a: O, b: T) => _T) => IEither<E, _T>; readonly joinRightAsync: <O, _T>( other: Supplier<Promise<IEither<E, O>>> | Promise<IEither<E, O>>, mapper: BiMapper<O, T, _T>, |