From 9df7ac21c043ee8583615cf5215328ec9d16ed7f Mon Sep 17 00:00:00 2001 From: Vincent JOUANNE Date: Fri, 21 Apr 2023 14:21:31 +0200 Subject: [PATCH] fix typechecking on exo8 --- src/exo8/exo8.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/exo8/exo8.test.ts b/src/exo8/exo8.test.ts index 3190d01..6006dca 100644 --- a/src/exo8/exo8.test.ts +++ b/src/exo8/exo8.test.ts @@ -109,7 +109,9 @@ describe('exo8', () => { const pipeline = await pipe( rte.Do, rte.apS('foo', rte.of<{ a: string }, string, number>(42)), - rteBindReaderKW('bar', ({ foo }) => reader.of<{ b: number }>(`${foo}`)), + rteBindReaderKW('bar', ({ foo }) => + reader.of<{ b: number }, string>(`${foo}`), + ), )({ a: '', b: 0 })(); const expected = await rte.of({ foo: 42, bar: '42' })({})();