From fbed94b0bbb41b8824a0e3f7f36a807af3510dd5 Mon Sep 17 00:00:00 2001 From: Mike Hardy Date: Tue, 7 Nov 2023 12:07:26 -0500 Subject: [PATCH] fix(types): fix type error on new headers feature --- src/internal/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/types.ts b/src/internal/types.ts index f0bbaa7c..427db825 100644 --- a/src/internal/types.ts +++ b/src/internal/types.ts @@ -117,7 +117,7 @@ export type NetInfoSubscription = () => void; export interface NetInfoConfiguration { reachabilityUrl: string; reachabilityMethod?: NetInfoMethodType; - reachabilityHeaders?: HeadersInit; + reachabilityHeaders?: Record; reachabilityTest: (response: Response) => Promise; reachabilityLongTimeout: number; reachabilityShortTimeout: number;