Type '({ data }: OptionProps<InputProps, Response, Variables>) => {}' is not assignable to type '(props: OptionProps<InputProps, Response, Variables>, lastProps?: void | ChildDataProps<InputProps, Response, Variables> | undefined) => ChildDataProps<...>'.
Type '{}' is not assignable to type 'ChildDataProps<InputProps, Response, Variables>'.
Property 'episode' is missing in type '{}' but required in type 'InputProps'.ts(2322)
Intended outcome: Use TypeScript with
graphql
HOCActual outcome: Type errors below
How to reproduce the issue: Try to use the example from the Docs: https://www.apollographql.com/docs/react/development-testing/static-typing/#props
Version 2.6.8