Skip to content

Commit

Permalink
fix: set proper type in options (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco authored Dec 5, 2024
1 parent 7fb3da0 commit 69dc3fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RealtimeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type RealtimeClientOptions = {
fetch?: Fetch
worker?: boolean
workerUrl?: string
accessToken?: () => Promise<string>
accessToken?: () => Promise<string | null>
}

export type RealtimeMessage = {
Expand Down

0 comments on commit 69dc3fd

Please sign in to comment.