-
Notifications
You must be signed in to change notification settings - Fork 786
2.0.0 typescript error in Apollo Provider, missing method in interface #1299
Comments
Rather than using the I tested this change in the |
@corydeppen thanks, this worked! Can you make a pull request? |
Who's in charge of deciding how this gets fixed? I'm also hitting this with
|
This issue has been automatically labled because it has not had recent activity. If you have not received a response from anyone, please mention the repository maintainer (most likely @jbaxleyiii). It will be closed if no further activity occurs. Thank you for your contributions to React Apollo! |
This issue has been automatically closed because it has not had recent activity after being marked as no recent activyt. If you belive this issue is still a problem or should be reopened, please reopen it! Thank you for your contributions to React Apollo! |
Intended outcome:
Upgrading from 1.x release to the 2.x release.
Actual outcome:
Types of property 'client' are incompatible.
Type 'ApolloClient<NormalizedCache>' is not assignable to type 'ApolloClient<Cache>'.
Type 'NormalizedCache' is not assignable to type 'Cache'.
Property 'add' is missing in type 'NormalizedCache'.
How to reproduce the issue:
Install react apollo in a typescript project and run tsc
Version
The text was updated successfully, but these errors were encountered: