Update types: attachments may not have url property

This commit is contained in:
Fedor Indutny 2021-03-16 10:49:19 -07:00 committed by Josh Perez
parent aeab3f8d16
commit f41ffda3e0
5 changed files with 19 additions and 16 deletions

View file

@ -12,7 +12,7 @@ import { AttachmentType, hasNotDownloaded } from '../../types/Attachment';
export type Props = {
alt: string;
attachment: AttachmentType;
url: string;
url?: string;
height?: number;
width?: number;