Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 69dc3fd

Browse files
authored
fix: set proper type in options (#441)
1 parent 7fb3da0 commit 69dc3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RealtimeClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export type RealtimeClientOptions = {
4040
fetch?: Fetch
4141
worker?: boolean
4242
workerUrl?: string
43-
accessToken?: () => Promise<string>
43+
accessToken?: () => Promise<string | null>
4444
}
4545

4646
export type RealtimeMessage = {

0 commit comments

Comments
 (0)