File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/no-explicit-any */
2-
3- /* eslint-disable @typescript-eslint/no-empty-interface */
42import type React from 'react' ;
53
6- import type SendbirdChat from '@sendbird/chat' ;
74import type {
85 BaseChannel ,
96 Emoji ,
@@ -13,6 +10,7 @@ import type {
1310 Participant ,
1411 RestrictedUser ,
1512 SendbirdError as SBError ,
13+ SendbirdChatWith ,
1614 User ,
1715 UserUpdateParams ,
1816} from '@sendbird/chat' ;
@@ -28,7 +26,6 @@ import type {
2826 MessageCollection ,
2927} from '@sendbird/chat/groupChannel' ;
3028import type {
31- ModuleNamespaces ,
3229 OpenChannelCreateParams ,
3330 OpenChannelUpdateParams ,
3431 SendableMessage ,
@@ -82,7 +79,7 @@ export type OnBeforeHandler<T> = (params: T) => T | Promise<T>;
8279export interface UserStruct {
8380 userId : string ;
8481}
85- export type SendbirdChatSDK = SendbirdChat & ModuleNamespaces < [ GroupChannelModule , OpenChannelModule ] > ;
82+ export type SendbirdChatSDK = SendbirdChatWith < [ GroupChannelModule , OpenChannelModule ] > ;
8683export type SendbirdMessage = BaseMessage | FileMessage | UserMessage | AdminMessage | SendableMessage ;
8784export type SendbirdChannel = BaseChannel | GroupChannel | OpenChannel ;
8885export type SendbirdUserMessage = UserMessage ;
You can’t perform that action at this time.
0 commit comments