@robinbobin/mimetype-constants
Version:
Extensible MIME constants with typescript support
18 lines (14 loc) • 372 B
text/typescript
import type { TSubtypeGroup, TTypeGroup } from '../types'
type TImageSubtype =
| 'avif'
| 'bmp'
| 'gif'
| 'jpeg'
| 'png'
| 'svgXml'
| 'tiff'
| 'vndMicrosoftIcon'
| 'webp'
type TImageSubtypeGroup = TSubtypeGroup<TImageSubtype>
type TImageTypeGroup = TTypeGroup<'image', TImageSubtype>
export type { TImageSubtype, TImageSubtypeGroup, TImageTypeGroup }