ConversationView: Improve types

This commit is contained in:
Scott Nonnenberg 2021-08-30 14:32:56 -07:00 committed by GitHub
commit dcf29078f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1101 additions and 941 deletions

View file

@ -48,11 +48,13 @@ export async function handleImageAttachment(
const blurHash = await imageToBlurHash(resizedBlob);
return {
fileName: fileName || file.name,
blurHash,
contentType,
data,
fileName: fileName || file.name,
path: file.name,
pending: false,
size: data.byteLength,
blurHash,
};
}