Skip to content

Commit

Permalink
Exporting RelayNetworkLayerOpts to be used externally
Browse files Browse the repository at this point in the history
RelayNetworkLayerOpts should be exposed externally so that wrapper application can simply extend the type.
Currently, types have to be copied from the package and into the application
  • Loading branch information
rramaa committed Jun 30, 2020
1 parent 87f0673 commit bbff5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export type SubscribeFunction = (
observer: any
) => RelayObservable<QueryPayload> | Disposable;

type RelayNetworkLayerOpts = {
export type RelayNetworkLayerOpts = {
subscribeFn?: SubscribeFunction;
beforeFetch?: FetchHookFunction;
noThrow?: boolean;
Expand Down

0 comments on commit bbff5a2

Please sign in to comment.