Skip to content

feat: allow async onBeforeUploadBegin callback #105

feat: allow async onBeforeUploadBegin callback

feat: allow async onBeforeUploadBegin callback #105

Status Failure
Total duration 56s
Artifacts

release-canary.yaml

on: pull_request
Build & Publish a canary release
48s
Build & Publish a canary release
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Build & Publish a canary release
Argument of type '{ files: File | File[]; input: inferEndpointInput<TRouter[TEndpoint]> | undefined | undefined; onUploadProgress: (progress: { file: string; progress: number; }) => void; onUploadBegin({ file }: { ...; }): void; url: URL; }' is not assignable to parameter of type 'UploadFilesOptions<TRouter, TEndpoint>'.
Build & Publish a canary release
Type '((files: File[]) => File[]) | undefined' is not assignable to type '((files: File[]) => File | Promise<File[]>) | undefined'.
Build & Publish a canary release
Type '((files: File[]) => File[]) | undefined' is not assignable to type '((files: File[]) => File | Promise<File[]>) | undefined'.
Build & Publish a canary release
Process completed with exit code 1.