Skip to content

Commit

Permalink
Allow an extraOptions object on PreloadOptions.
Browse files Browse the repository at this point in the history
Reviewed By: josephsavona

Differential Revision: D18018787

fbshipit-source-id: b232e0d8558cc25d2ca1f97d7ed5fbcbb152feb9
  • Loading branch information
efaust authored and facebook-github-bot committed Oct 28, 2019
1 parent 3913c09 commit 68e893e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/relay-experimental/EntryPointTypes.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export type PreloadFetchPolicy =
export type PreloadOptions = {|
+fetchKey?: string | number,
+fetchPolicy?: ?PreloadFetchPolicy,
+extraOptions?: ?{},
|};

// Note: the phantom type parameter here helps ensures that the
Expand Down

0 comments on commit 68e893e

Please sign in to comment.