diff --git a/types/react-relay/index.d.ts b/types/react-relay/index.d.ts index acce5bf832..8db0ad396d 100644 --- a/types/react-relay/index.d.ts +++ b/types/react-relay/index.d.ts @@ -91,6 +91,7 @@ export const graphql: GraphqlInterface; export interface QueryRendererProps { cacheConfig?: RelayRuntimeTypes.CacheConfig; + dataFrom?: "NETWORK_ONLY" | "STORE_THEN_NETWORK"; environment: RelayRuntimeTypes.Environment; query?: RelayRuntimeTypes.GraphQLTaggedNode | null; render(readyState: ReadyState): React.ReactElement | undefined | null;