From 64c3d604aa13c4b94cbab19420a7a46ed8501308 Mon Sep 17 00:00:00 2001 From: Daniel Gasienica Date: Tue, 24 Apr 2018 16:59:45 -0400 Subject: [PATCH] Fix type errors --- ts/components/conversation/Quote.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/components/conversation/Quote.tsx b/ts/components/conversation/Quote.tsx index aa61358b9..6cb2bfa13 100644 --- a/ts/components/conversation/Quote.tsx +++ b/ts/components/conversation/Quote.tsx @@ -18,7 +18,7 @@ interface Props { } interface QuotedAttachment { - contentType: string; + contentType: MIME.MIMEType; fileName: string; /* Not included in protobuf */ isVoiceMessage: boolean; @@ -26,7 +26,7 @@ interface QuotedAttachment { } interface Attachment { - contentType: string; + contentType: MIME.MIMEType; /* Not included in protobuf, and is loaded asynchronously */ objectUrl?: string; }