Update types: attachments may not have url
property
This commit is contained in:
parent
aeab3f8d16
commit
f41ffda3e0
5 changed files with 19 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue