make type string

This commit is contained in:
RMidhunSuresh 2021-12-01 16:10:22 +05:30
parent 66b4f9bfe5
commit 640cd88b6e

View file

@ -18,7 +18,7 @@ export type Attachment = {
body: string;
info: AttachmentInfo;
// todo: what about m.audio?
msgtype: "m.image" | "m.file" | "m.video";
msgtype: string;
url?: string;
file?: EncryptedFile;
filename?: string;