From ba63be124999bee42101687b617f9d631965cccd Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Mon, 15 Aug 2022 23:42:30 +0100 Subject: [PATCH] Fix faulty type in retryExchange --- exchanges/retry/src/retryExchange.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exchanges/retry/src/retryExchange.ts b/exchanges/retry/src/retryExchange.ts index d15b3dc56e..692be6cf05 100644 --- a/exchanges/retry/src/retryExchange.ts +++ b/exchanges/retry/src/retryExchange.ts @@ -1,4 +1,5 @@ import { + Source, makeSubject, share, pipe, @@ -9,6 +10,7 @@ import { mergeMap, takeUntil, } from 'wonka'; + import { makeOperation, Exchange, @@ -142,7 +144,7 @@ export const retryExchange = ({ return true; }) - ) as sourceT; + ) as Source; return result$; };