Properties

accept

accept?: string | (string | RegExp)[]

An array of accepted file mimetypes, also accepts wildcard character for example [‘image/*’]

format

format?: __type

Formats the extensions for presentation in a validation message