Skip to content

Commit

Permalink
Fix types of useRefetchableFragment/usePaginationFragment for data/va…
Browse files Browse the repository at this point in the history
…riables with/without optional keys.

Reviewed By: tyao1

Differential Revision: D42462434

fbshipit-source-id: e6e9d9f18c64b0d1e14be209e005720dda9186f3
  • Loading branch information
alunyov authored and facebook-github-bot committed Jan 13, 2023
1 parent 465fb10 commit 85ab73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/relay-runtime/util/RelayRuntimeTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,5 @@ declare export opaque type Fragment<TFragmentType, +TData>: ReaderFragment;
declare export opaque type RefetchableFragment<
TFragmentType,
+TData,
-TVariables: Variables,
TVariables: Variables,
>: Fragment<TFragmentType, TData>;

0 comments on commit 85ab73f

Please sign in to comment.