The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/plugin > UploadValidator
UploadValidator type
Signature:export declare type UploadValidator<E = unknown> = (
file: File
) =>
| {
valid: true
}
| {
valid: false
errors: E
}