Skip to content

Commit a959729

Browse files
committed
fix: revert the type change in favor of changes in the LLC
1 parent 1294595 commit a959729

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

package/src/types/types.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { EventTypes, ExtendableGenerics, LiteralStringForUnion } from 'stream-chat';
1+
import type { ExtendableGenerics, LiteralStringForUnion } from 'stream-chat';
22

33
import type { FileStateValue } from '../utils/utils';
44

@@ -84,17 +84,11 @@ interface DefaultChannelType extends UnknownType {
8484
image?: string;
8585
}
8686

87-
interface DefaultEventType extends UnknownType {
88-
[key: string]: unknown;
89-
90-
type: EventTypes | 'ai_indicator_changed' | 'ai_indicator_clear';
91-
}
92-
9387
export interface DefaultStreamChatGenerics extends ExtendableGenerics {
9488
attachmentType: DefaultAttachmentType;
9589
channelType: DefaultChannelType;
9690
commandType: LiteralStringForUnion;
97-
eventType: DefaultEventType;
91+
eventType: UnknownType;
9892
memberType: UnknownType;
9993
messageType: UnknownType;
10094
reactionType: UnknownType;

0 commit comments

Comments
 (0)