-
Edit: Type narrowing for Context: using:
When using
Super awesome! But when using useMutation I get this:
I followed the breadcrumbs in from react/types.ts:
to core/types.ts:
and understand that's why it works for For useMutation it is:
Is this intended? Or maybe there is an upcoming fix for it? Anyway, thanks for an awesome library |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Sep 6, 2021
Replies: 1 comment 1 reply
-
we have an open PR for that: #2620 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
anddoutoi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
we have an open PR for that: #2620