mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-31 03:16:42 -05:00
chore: fix expo types
This commit is contained in:
@@ -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,
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user