diff --git a/src/@apollo/client/link/error/ApolloClient__Link_Error.res b/src/@apollo/client/link/error/ApolloClient__Link_Error.res index 4897c45..5f038d2 100644 --- a/src/@apollo/client/link/error/ApolloClient__Link_Error.res +++ b/src/@apollo/client/link/error/ApolloClient__Link_Error.res @@ -65,7 +65,9 @@ module ErrorResponse = { operation: Operation.Js_.t, } - @bs.send external forward: t => NextLink.Js_.t = "forward" + @send + external forward: (t, Operation.t) => Observable.Js_.t, Js.Exn.t> = + "forward" } type t_networkError = @@ -92,7 +94,7 @@ module ErrorResponse = { ), response: js.response, operation: js.operation->Operation.fromJs, - forward: operation => js->Js_.forward(operation->Operation.toJs), + forward: operation => js->Js_.forward(operation), } }