This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Emitted types are invalid? #205
Comments
what are the errors? can you provide them here? |
|
@sibelius Similar issue when I use the
|
@karlmarxlopez have you found a solution to this issue? I'm currently using typescripts |
@filame I think I ended up typecasting it. Something like this, |
Ok, same for me. Thanks for your reply! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry for my ignorance, I just started using Relay and friends. I chose it over other existing GraphQL client because IMHO, it is worth it in the long run.
I am following the todo list tutorial on Relay's docs and converting the HTML into React Native. There's no error on the runtime but there are static type errors, especially on the generated types for fragments.
Here's a reproduction of the issue, you don't need to run it just open it on VScode.
Open the following files:
TodoList.tsx@line:16
TodoScreen.tsx@line:30
The text was updated successfully, but these errors were encountered: