You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The inferred type of 'storefrontLink' cannot be named without a reference to 'msw/node_modules/graphql'. This is likely not portable. A type annotation is necessary.ts(2742)
standardGraphQLHandlers is a part of the internal logic and I wouldn't expose it, as it doesn't provide any runtime value for the end consumer of the library. This needs a proper solution, I will try to think of one.
For the time being, I can suggest annotating your someQuery.ts like this:
Scope
Adds a new behavior
Compatibility
Feature description
First of all, thanks for this amazing library.
I am trying the following:
handlers.ts:
someQuery.ts:
In this last codeblock i need to type graphql.link, which is i believe standardGraphQLHandlers.
Only this type is not exposed.
Feature request: expose standardGraphQLHandlers type.
The text was updated successfully, but these errors were encountered: