File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -932,8 +932,9 @@ export class StreamChat<StreamChatGenerics extends ExtendableGenerics = DefaultG
932
932
set . add ( factory ) ;
933
933
934
934
return ( ) => {
935
+ // @ts -expect-error
935
936
set . delete ( factory ) ;
936
-
937
+ // @ts -expect-error
937
938
if ( ! set . size ) {
938
939
this . targetFactoriesByType . delete ( eventType ) ;
939
940
}
Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ export type ThreadReadState<SCG extends ExtendableGenerics = DefaultGenerics> =
63
63
> ;
64
64
65
65
// TODO: figure out generics here
66
+ // @ts -expect-error
66
67
const messageNewFactory : TargetFactory < DefaultGenerics , 'message.new' > = ( event ) => {
67
68
return event . parent_id ? `message.new-${ event . parent_id } ` : null ;
68
69
} ;
70
+ // @ts -expect-error
69
71
const threadMessageReadFactory : TargetFactory < DefaultGenerics , 'message.read' > = ( event ) => {
70
72
return event . thread ? `message.read-${ event . thread . parent_message_id } ` : null ;
71
73
} ;
You can’t perform that action at this time.
0 commit comments