fix: MessagingMessageの型を修正 #28

Merged
tamaina merged 2 commits from fix-messaging into develop 2021-09-20 17:49:31 +00:00
3 changed files with 9 additions and 3 deletions

View file

@ -1 +1 @@
- MessagingMessageの型を修正

View file

@ -2171,7 +2171,10 @@ type MessagingMessage = {
text: string | null;
user: User;
userId: User['id'];
groupId: string;
recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
};
// @public (undocumented)

View file

@ -167,7 +167,10 @@ export type MessagingMessage = {
text: string | null;
user: User;
userId: User['id'];
groupId: string; // TODO
recipient?: User | null;
recipientId: User['id'] | null;
group?: UserGroup | null;
groupId: UserGroup['id'] | null;
};
export type CustomEmoji = {