File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,12 @@ import {
55 PostgrestFilterBuilder ,
66 PostgrestQueryBuilder ,
77} from '@supabase/postgrest-js'
8- import { RealtimeChannel , RealtimeClient , RealtimeClientOptions } from '@supabase/realtime-js'
8+ import {
9+ RealtimeChannel ,
10+ RealtimeChannelOptions ,
11+ RealtimeClient ,
12+ RealtimeClientOptions ,
13+ } from '@supabase/realtime-js'
914import { StorageClient as SupabaseStorageClient } from '@supabase/storage-js'
1015import { DEFAULT_HEADERS } from './lib/constants'
1116import { fetchWithAuth } from './lib/fetch'
@@ -197,7 +202,7 @@ export default class SupabaseClient<
197202 * @param {Object } opts - The options to pass to the Realtime channel.
198203 *
199204 */
200- channel ( name : string , opts : { [ key : string ] : any } = { } ) : RealtimeChannel {
205+ channel ( name : string , opts : RealtimeChannelOptions = { config : { } } ) : RealtimeChannel {
201206 return this . realtime . channel ( name , opts )
202207 }
203208
You can’t perform that action at this time.
0 commit comments