Skip to content

Commit

Permalink
fix(types): fix type error on new headers feature (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Nov 7, 2023
1 parent 76bdb38 commit 270be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/types.ts
Expand Up @@ -117,7 +117,7 @@ export type NetInfoSubscription = () => void;
export interface NetInfoConfiguration {
reachabilityUrl: string;
reachabilityMethod?: NetInfoMethodType;
reachabilityHeaders?: HeadersInit;
reachabilityHeaders?: Record<string, string>;
reachabilityTest: (response: Response) => Promise<boolean>;
reachabilityLongTimeout: number;
reachabilityShortTimeout: number;
Expand Down

0 comments on commit 270be4f

Please sign in to comment.