Skip to content

Web API Type Safety #1056

Web API Type Safety

Web API Type Safety #1056

Triggered via pull request November 2, 2023 13:37
Status Failure
Total duration 1m 45s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci-build.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

21 errors
test (18.x, packages/web-api)
Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'FilesUploadV2Arguments'.
test (18.x, packages/web-api)
Property 'filesUploadV2' in type 'WebClient' is not assignable to the same property in base type 'Methods'.
test (18.x, packages/web-api)
Property 'file' does not exist on type 'FilesUploadV2Arguments'.
test (18.x, packages/web-api)
Property 'content' does not exist on type 'FilesUploadV2Arguments'.
test (18.x, packages/web-api)
Argument of type '{ channels: string | undefined; channel_id: string | undefined; initial_comment: string | undefined; thread_ts: string | undefined; filename?: string | undefined; title?: string | undefined; alt_text?: string | undefined; snippet_type?: string | undefined; filetype?: string | undefined; }' is not assignable to parameter of type 'FileUploadV2 | FilesUploadV2Arguments'.
test (18.x, packages/web-api)
Type '{ files: [{ id: string; title: string | undefined; }]; channel_id: string | undefined; initial_comment: string | undefined; thread_ts: string | undefined; }' is not assignable to type 'FilesCompleteUploadExternalArguments'.
test (18.x, packages/web-api)
Property 'file' does not exist on type 'FileUploadV2 | FilesUploadV2Arguments'.
test (18.x, packages/web-api)
Property 'content' does not exist on type 'FileUploadV2 | FilesUploadV2Arguments'.
test (18.x, packages/web-api)
This comparison appears to be unintentional because the types 'typeof Methods' and 'typeof WebClient' have no overlap.
test (18.x, packages/web-api)
Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'FilesUploadV2Arguments'.
test (20.x, packages/web-api)
The job was canceled because "_18_x_packages_web-api" failed.
test (20.x, packages/web-api)
Argument of type 'Record<string, unknown>' is not assignable to parameter of type 'FilesUploadV2Arguments'.
test (20.x, packages/web-api)
Property 'filesUploadV2' in type 'WebClient' is not assignable to the same property in base type 'Methods'.
test (20.x, packages/web-api)
Property 'file' does not exist on type 'FilesUploadV2Arguments'.
test (20.x, packages/web-api)
Property 'content' does not exist on type 'FilesUploadV2Arguments'.
test (20.x, packages/web-api)
Argument of type '{ channels: string | undefined; channel_id: string | undefined; initial_comment: string | undefined; thread_ts: string | undefined; filename?: string | undefined; title?: string | undefined; alt_text?: string | undefined; snippet_type?: string | undefined; filetype?: string | undefined; }' is not assignable to parameter of type 'FileUploadV2 | FilesUploadV2Arguments'.
test (20.x, packages/web-api)
Type '{ files: [{ id: string; title: string | undefined; }]; channel_id: string | undefined; initial_comment: string | undefined; thread_ts: string | undefined; }' is not assignable to type 'FilesCompleteUploadExternalArguments'.
test (20.x, packages/web-api)
Property 'file' does not exist on type 'FileUploadV2 | FilesUploadV2Arguments'.
test (20.x, packages/web-api)
Property 'content' does not exist on type 'FileUploadV2 | FilesUploadV2Arguments'.
test (20.x, packages/web-api)
This comparison appears to be unintentional because the types 'typeof Methods' and 'typeof WebClient' have no overlap.
test (20.x, packages/web-api)
The operation was canceled.