File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export default class SupabaseClient<
51
51
protected storageKey : string
52
52
protected fetch ?: Fetch
53
53
protected changedAccessToken ?: string
54
- protected accessToken ?: ( ) => Promise < string >
54
+ protected accessToken ?: ( ) => Promise < string | null >
55
55
56
56
protected headers : Record < string , string >
57
57
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ export type SupabaseClientOptions<SchemaName> = {
77
77
* Create another client if you wish to use Supabase Auth and third-party
78
78
* authentications concurrently in the same application.
79
79
*/
80
- accessToken ?: ( ) => Promise < string >
80
+ accessToken ?: ( ) => Promise < string | null >
81
81
}
82
82
83
83
export type GenericRelationship = {
You can’t perform that action at this time.
0 commit comments