diff --git a/src/SupabaseClient.ts b/src/SupabaseClient.ts index f4235289..e67986c6 100644 --- a/src/SupabaseClient.ts +++ b/src/SupabaseClient.ts @@ -51,7 +51,7 @@ export default class SupabaseClient< protected storageKey: string protected fetch?: Fetch protected changedAccessToken?: string - protected accessToken?: () => Promise + protected accessToken?: () => Promise protected headers: Record diff --git a/src/lib/types.ts b/src/lib/types.ts index 85531a0e..29b52079 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -77,7 +77,7 @@ export type SupabaseClientOptions = { * Create another client if you wish to use Supabase Auth and third-party * authentications concurrently in the same application. */ - accessToken?: () => Promise + accessToken?: () => Promise } export type GenericTable = {