diff --git a/ts/types/MIME.ts b/ts/types/MIME.ts index a27cb658c..7439a8a66 100644 --- a/ts/types/MIME.ts +++ b/ts/types/MIME.ts @@ -4,9 +4,6 @@ export type MIMEType = string & { _mimeTypeBrand: any }; export const isJPEG = (value: MIMEType): boolean => value === 'image/jpeg'; - export const isImage = (value: MIMEType): boolean => value.startsWith('image/'); - export const isVideo = (value: MIMEType): boolean => value.startsWith('video/'); - export const isAudio = (value: MIMEType): boolean => value.startsWith('audio/');