This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Description
Hi
333 ┆ |> Js.Promise.then_(response => {
334 ┆ switch (response) {
. ┆ ...
340 ┆ Js.Promise.resolve();
341 ┆ })
342 ┆ |> ignore
343 ┆ | EditFunction(customCodeUuid) =>
This has type:
Js.Promise.t(ApolloHooks.Mutation.controlledVariantResult('a)) =>
Js.Promise.t(unit)
But somewhere wanted:
Js.Promise.t(ApolloHooks.Mutation.result({. "addCustomCode": {. "body":
After upgrading to 6.0.0 I've been getting a whole ton of these. A user named light.wave was able to figure this out by annotating:
Js.Promise.then_((result: ApolloHooks.Mutation.result('a)) =>
is this the right approach? if so can we add this to the README / examples? Happy to help. Thanks!!