diff --git a/src/@apollo/client/core/ApolloClient__Core_ApolloClient.res b/src/@apollo/client/core/ApolloClient__Core_ApolloClient.res index 6a453e0..35aff8f 100644 --- a/src/@apollo/client/core/ApolloClient__Core_ApolloClient.res +++ b/src/@apollo/client/core/ApolloClient__Core_ApolloClient.res @@ -371,7 +371,7 @@ module Js_ = { @send external setLink: (t, ApolloLink.Js_.t) => unit = "setLink" // stop(): void; - @send external stop: (t, unit) => unit = "stop" + @send external stop: t => unit = "stop" // subscribe(options: SubscriptionOptions): Observable>; @@ -492,6 +492,7 @@ type t = { restore: (~serializedState: Js.Json.t) => ApolloCache.t, @as("rescript_setLink") setLink: ApolloLink.t => unit, + @as("rescript_stop") stop: unit => unit, @as("rescript_subscribe") subscribe: 'data 'variables 'jsVariables. ( @@ -837,7 +838,7 @@ let make: ( let setLink = link => jsClient->Js_.setLink(link) - let stop = () => jsClient->Js_.stop() + let stop = () => jsClient->Js_.stop let subscribe = ( type data variables jsVariables,