From bb387fed5c66546704d8f3adcd4a58f40426d45a Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Thu, 27 Feb 2025 18:52:16 +0300 Subject: [PATCH] chore: fix expo types --- packages/expo/src/client.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/expo/src/client.ts b/packages/expo/src/client.ts index e66d90c1d1..bf2ef7993e 100644 --- a/packages/expo/src/client.ts +++ b/packages/expo/src/client.ts @@ -3,7 +3,6 @@ import * as Browser from "expo-web-browser"; import * as Linking from "expo-linking"; import { Platform } from "react-native"; import Constants from "expo-constants"; -import type { BetterFetchOption } from "@better-fetch/fetch"; interface CookieAttributes { value: string; @@ -190,9 +189,7 @@ export const expoClient = (opts: ExpoClientOptions) => { if (isWeb) { return { url, - options: { - ...options, - }, + options, }; } options = options || {}; @@ -242,7 +239,7 @@ export const expoClient = (opts: ExpoClientOptions) => { options: { ...options, signal: new AbortController().signal, - } as BetterFetchOption, + }, }; }, },