Skip to content

Commit 029fb2a

Browse files
committed
hotfix: remove type from handler type import (#271)
To solve - cannot be used as a value when imports using the `import type` declaration
1 parent eb5446a commit 029fb2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/index_d_ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -867,19 +867,19 @@ declare module '@sendbird/uikit-react/withSendbird' {
867867

868868
// handlers
869869
declare module '@sendbird/uikit-react/handlers/ConnectionHandler' {
870-
import type { ConnectionHandler } from '@sendbird/chat';
870+
import { ConnectionHandler } from '@sendbird/chat';
871871
export default ConnectionHandler;
872872
}
873873
declare module '@sendbird/uikit-react/handlers/GroupChannelHandler' {
874-
import type { GroupChannelHandler } from '@sendbird/chat/groupChannel';
874+
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
875875
export default GroupChannelHandler;
876876
}
877877
declare module '@sendbird/uikit-react/handlers/OpenChannelHandler' {
878-
import type { OpenChannelHandler } from '@sendbird/chat/openChannel';
878+
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
879879
export default OpenChannelHandler;
880880
}
881881
declare module '@sendbird/uikit-react/handlers/UserEventHandler' {
882-
import type { UserEventHandler } from "@sendbird/chat";
882+
import { UserEventHandler } from "@sendbird/chat";
883883
export default UserEventHandler;
884884
}
885885

0 commit comments

Comments
 (0)