Skip to content

Commit 0d57e76

Browse files
Move common custom data from stream-chat
1 parent f060dfb commit 0d57e76

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import 'stream-chat';
2+
3+
declare module 'stream-chat' {
4+
interface CustomUserData {
5+
image?: string;
6+
}
7+
8+
interface CustomChannelData {
9+
image?: string;
10+
subtitle?: string;
11+
}
12+
}

0 commit comments

Comments
 (0)