Skip to content

Commit

Permalink
fix: type fix in [email protected] causing typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Nov 13, 2024
1 parent c512116 commit 80b8f04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
"pretty-bytes": "^6.1.1",
"rxjs": "~7.4.0",
"starwars-names": "^1.6.0",
"stream-chat": "^8.40.1",
"stream-chat": "^8.44.0",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"uuid": "^9.0.1",
Expand Down
3 changes: 2 additions & 1 deletion projects/stream-chat-angular/src/lib/channel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
Event,
EventTypes,
FormatMessageResponse,
MemberFilters,
Message,
MessageResponse,
ReactionResponse,
Expand Down Expand Up @@ -1075,7 +1076,7 @@ export class ChannelService<
}
const result = await activeChannel.queryMembers({
name: { $autocomplete: searchTerm },
} as UserFilters<T>); // TODO: find out why we need typecast here
} as MemberFilters<T>); // TODO: find out why we need typecast here

return result.members.filter(
(m) => m.user_id !== this.chatClientService.chatClient?.user?.id
Expand Down

0 comments on commit 80b8f04

Please sign in to comment.