Skip to content

Commit

Permalink
Fix type signature of RTE.tapReaderIO
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisFrezzato authored and gcanti committed Jul 27, 2023
1 parent ff7af35 commit 0c158fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/modules/ReaderTaskEither.ts.md
Expand Up @@ -360,7 +360,7 @@ keeping only the result of the first.

```ts
export declare const tapReaderIO: {
<A, R2, _>(f: (a: A) => RT.ReaderTask<R2, _>): <R1, E>(
<A, R2, _>(f: (a: A) => RIO.ReaderIO<R2, _>): <R1, E>(
self: ReaderTaskEither<R1, E, A>
) => ReaderTaskEither<R1 & R2, E, A>
<R1, E, A, R2, _>(self: ReaderTaskEither<R1, E, A>, f: (a: A) => RIO.ReaderIO<R2, _>): ReaderTaskEither<R1 & R2, E, A>
Expand Down
4 changes: 1 addition & 3 deletions src/ReaderTaskEither.ts
Expand Up @@ -1150,9 +1150,7 @@ export const tapReaderTask: {
* @since 2.16.0
*/
export const tapReaderIO: {
<A, R2, _>(f: (a: A) => ReaderTask<R2, _>): <R1, E>(
self: ReaderTaskEither<R1, E, A>
) => ReaderTaskEither<R1 & R2, E, A>
<A, R2, _>(f: (a: A) => ReaderIO<R2, _>): <R1, E>(self: ReaderTaskEither<R1, E, A>) => ReaderTaskEither<R1 & R2, E, A>
<R1, E, A, R2, _>(self: ReaderTaskEither<R1, E, A>, f: (a: A) => ReaderIO<R2, _>): ReaderTaskEither<R1 & R2, E, A>
} = /*#__PURE__*/ dual(
2,
Expand Down

0 comments on commit 0c158fa

Please sign in to comment.