diff --git a/packages/react-relay/ReactRelayQueryRenderer.js b/packages/react-relay/ReactRelayQueryRenderer.js index 9489f79c42534..6ee62ba2ff336 100644 --- a/packages/react-relay/ReactRelayQueryRenderer.js +++ b/packages/react-relay/ReactRelayQueryRenderer.js @@ -66,14 +66,14 @@ const queryRendererContext: ReactRelayQueryRendererContextType = { rootIsQueryRenderer: true, }; -export type Props = { +export type Props = $ReadOnly<{ cacheConfig?: ?CacheConfig, fetchPolicy?: 'store-and-network' | 'network-only', environment: IEnvironment, query: ?GraphQLTaggedNode, render: (renderProps: RenderProps) => React.Node, variables: Variables, -}; +}>; type State = { error: Error | null,