FileUploadHandler

View Source

Summary

Transforms an uploaded file into the value stored in the parsed FormData.

Signature

interface FileUploadHandler {
  (
    file: FileUpload,
  ): string | void | Blob | Promise<string | void | Blob | null> | null;
}