update typescript return
This commit is contained in:
parent
bd591434ed
commit
a2f1205259
|
@ -33,6 +33,7 @@ export type ChatEndpoints = {
|
||||||
GET: (params: { roomId: IServerRoom['_id']; text?: string; offset: number; count: number }) => {
|
GET: (params: { roomId: IServerRoom['_id']; text?: string; offset: number; count: number }) => {
|
||||||
messages: IMessageFromServer[];
|
messages: IMessageFromServer[];
|
||||||
total: number;
|
total: number;
|
||||||
|
count: number;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
'chat.getThreadsList': {
|
'chat.getThreadsList': {
|
||||||
|
|
Loading…
Reference in New Issue