Type Alias: UploadFn
ts
type UploadFn = (file, context) => Promise<UploadResult>;Store a file and return where it can be loaded from.
Parameters
| Parameter | Type |
|---|---|
file | File |
context | UploadContext |
Returns
Promise<UploadResult>