chore: fix expo types

This commit is contained in:
Bereket Engida
2025-02-27 18:52:16 +03:00
parent c50be9d086
commit bb387fed5c

View File

@@ -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,
},
};
},
},