Skip to content

Commit d0e948f

Browse files
authored
Merge pull request #594 from GetStream/fix-stream-chat-type-issue
Fix stream chat type issue
2 parents 82227d5 + 24b0277 commit d0e948f

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"ngx-float-ui": "^15.0.0",
129129
"pretty-bytes": "^6.1.1",
130130
"rxjs": "~7.4.0",
131-
"stream-chat": "^8.25.1",
131+
"stream-chat": "^8.26.0",
132132
"ts-node": "^10.9.2",
133133
"tslib": "^2.3.0",
134134
"uuidv4": "^6.2.13",

projects/stream-chat-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"angular-mentions": "^1.4.0",
1717
"ngx-float-ui": "^15.0.0|| ^16.0.0 || ^17.0.0",
1818
"rxjs": "^7.4.0",
19-
"stream-chat": "^8.24.0"
19+
"stream-chat": "^8.26.0"
2020
},
2121
"dependencies": {
2222
"@stream-io/transliterate": "^1.5.2",

projects/stream-chat-angular/src/lib/message-preview.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { createMessagePreview } from './message-preview';
33
import {
44
DefaultAttachmentType,
55
DefaultChannelType,
6+
DefaultStreamChatGenerics,
67
DefaultUserType,
78
StreamMessage,
89
UnknownType,
@@ -25,7 +26,7 @@ describe('createMessagePreview', () => {
2526
results: number[];
2627
options: string[];
2728
};
28-
type MyGenerics = {
29+
type MyGenerics = DefaultStreamChatGenerics & {
2930
messageType: MyMessageType;
3031
attachmentType: DefaultAttachmentType;
3132
channelType: DefaultChannelType;

0 commit comments

Comments
 (0)