Created
June 4, 2017 03:59
-
-
Save jbaxleyiii/42cb1579723d1cd3e12335c0448072f5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const withCharacter: OperationComponent<Response, InputProps> = graphql(HERO_QUERY, { | |
options: ({ episode }) => ({ | |
// $ExpectError [string] This type cannot be compared to number | |
variables: { episode: episode > 1 }, | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment