UNPKG

@modern-kit/utils

Version:
7 lines (5 loc) 866 B
declare const MIME_TYPES: readonly ["application/json", "application/javascript", "application/pdf", "application/xml", "application/zip", "application/x-www-form-urlencoded", "application/vnd.ms-excel", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application/vnd.ms-powerpoint", "application/vnd.openxmlformats-officedocument.presentationml.presentation", "application/msword", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "audio/mpeg", "audio/ogg", "audio/wav", "audio/webm", "image/gif", "image/jpeg", "image/png", "image/svg+xml", "image/webp", "text/css", "text/html", "text/plain", "text/xml", "video/mp4", "video/mpeg", "video/ogg", "video/webm"]; type MIMEType = (typeof MIME_TYPES)[number]; declare function isMIMEType(arg: unknown): arg is MIMEType; export { isMIMEType }; export type { MIMEType };