Skip to content

Commit

Permalink
Fix faulty type in retryExchange
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Aug 15, 2022
1 parent 5959cb5 commit ba63be1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exchanges/retry/src/retryExchange.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Source,
makeSubject,
share,
pipe,
Expand All @@ -9,6 +10,7 @@ import {
mergeMap,
takeUntil,
} from 'wonka';

import {
makeOperation,
Exchange,
Expand Down Expand Up @@ -142,7 +144,7 @@ export const retryExchange = ({

return true;
})
) as sourceT<OperationResult>;
) as Source<OperationResult>;

return result$;
};
Expand Down

0 comments on commit ba63be1

Please sign in to comment.