Skip to content

Convert to TypeScript #42

Convert to TypeScript

Convert to TypeScript #42

Triggered via pull request October 11, 2024 09:49
Status Failure
Total duration 28s
Artifacts

ci.yml

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

Annotations

12 errors
pack
Type 'string | undefined' is not assignable to type 'string'.
pack
Type '{ process: execa.ExecaChildProcess<string> | undefined; urlPromise: Promise<string>; close: () => Promise<void>; }' is not assignable to type 'CreateTunnelResult' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
pack
Argument of type '{ path: string | undefined; client: Transloadit; assemblyId: any; }' is not assignable to parameter of type '{ path?: string; client: Transloadit; assemblyId: string; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
pack
Type 'Promise<{ count: number; items: number[]; } | undefined>' is not assignable to type 'PaginationList<number> | PromiseLike<PaginationList<number>>'.
pack
Argument of type '{ count: number; items: number[]; } | undefined' is not assignable to parameter of type 'PaginationList<number> | PromiseLike<PaginationList<number>>'.
pack
Process completed with exit code 1.
typescript: test/tunnel.ts#L72
Type 'string | undefined' is not assignable to type 'string'.
typescript: test/tunnel.ts#L133
Type '{ process: execa.ExecaChildProcess<string> | undefined; urlPromise: Promise<string>; close: () => Promise<void>; }' is not assignable to type 'CreateTunnelResult' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typescript: test/integration/live-api.test.ts#L603
Argument of type '{ path: string | undefined; client: Transloadit; assemblyId: any; }' is not assignable to parameter of type '{ path?: string; client: Transloadit; assemblyId: string; }' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
typescript: test/unit/test-pagination-stream.test.ts#L30
Type 'Promise<{ count: number; items: number[]; } | undefined>' is not assignable to type 'PaginationList<number> | PromiseLike<PaginationList<number>>'.
typescript: test/unit/test-pagination-stream.test.ts#L57
Argument of type '{ count: number; items: number[]; } | undefined' is not assignable to parameter of type 'PaginationList<number> | PromiseLike<PaginationList<number>>'.
typescript
Process completed with exit code 2.