Properties

accept

accept?: string | string[]

An array of case-insensitive filename extensions, starting with a period (‘.’) character

format

format?: (mimeTypes: string[]) => string

Formats the extensions for presentation in a validation message