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

@ -759,8 +759,6 @@ story.add('Audio with Not Downloaded Attachment', () => {
{
contentType: AUDIO_MP3,
fileName: 'incompetech-com-Agnus-Dei-X.mp3',
// eslint-disable-next-line @typescript-eslint/no-explicit-any
url: undefined as any,
},
],
status: 'sent',
@ -775,8 +773,6 @@ story.add('Audio with Pending Attachment', () => {
{
contentType: AUDIO_MP3,
fileName: 'incompetech-com-Agnus-Dei-X.mp3',
// eslint-disable-next-line @typescript-eslint/no-explicit-any
url: undefined as any,
pending: true,
},
],