Skip to content

Convert to TypeScript #39

Convert to TypeScript

Convert to TypeScript #39

Triggered via pull request October 5, 2024 11:49
@mifimifi
synchronize #187
typescript
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Matrix: vitest
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

4 errors
pack
Type '{ endpoint: string; metadata: { assembly_url: string; fieldname: string; filename: string; }; uploadSize: number | undefined; onError: (reason?: any) => void; onProgress: (bytesUploaded: number) => void; onSuccess: (value: void | PromiseLike<...>) => void; }' is not assignable to type 'UploadOptions' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
pack
Process completed with exit code 1.
typescript: src/tus.ts#L92
Type '{ endpoint: string; metadata: { assembly_url: string; fieldname: string; filename: string; }; uploadSize: number | undefined; onError: (reason?: any) => void; onProgress: (bytesUploaded: number) => void; onSuccess: (value: void | PromiseLike<...>) => void; }' is not assignable to type 'UploadOptions' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typescript
Process completed with exit code 1.