Skip to content

feat: narrow type based on status code #1863

feat: narrow type based on status code

feat: narrow type based on status code #1863

Triggered via pull request October 25, 2024 22:56
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: pull_request
Matrix: test-node-versions
Fit to window
Zoom out
Zoom in

Annotations

13 errors
lint
Process completed with exit code 1.
test-node-versions (20)
Type '(init: Init) => Promise<NonNullable<ParseAsResponse<GetResponseContent<ResponseObjectMap<Paths[Path][Method]>, Media, "2XX">, Init>> | NonNullable<...>>' is not assignable to type 'MutationFunction<Response["data"], Init>'.
test-node-versions (20)
Process completed with exit code 2.
test-node-versions (18)
The job was canceled because "_20" failed.
test-node-versions (18)
Type '(init: Init) => Promise<NonNullable<ParseAsResponse<GetResponseContent<ResponseObjectMap<Paths[Path][Method]>, Media, "2XX">, Init>> | NonNullable<...>>' is not assignable to type 'MutationFunction<Response["data"], Init>'.
test-node-versions (18)
Process completed with exit code 2.
test-node-versions (22)
The job was canceled because "_20" failed.
test-node-versions (22)
Type '(init: Init) => Promise<NonNullable<ParseAsResponse<GetResponseContent<ResponseObjectMap<Paths[Path][Method]>, Media, "2XX">, Init>> | NonNullable<...>>' is not assignable to type 'MutationFunction<Response["data"], Init>'.
test-node-versions (22)
The operation was canceled.
test-macos
Type '(init: Init) => Promise<NonNullable<ParseAsResponse<GetResponseContent<ResponseObjectMap<Paths[Path][Method]>, Media, "2XX">, Init>> | NonNullable<...>>' is not assignable to type 'MutationFunction<Response["data"], Init>'.
test-macos
Process completed with exit code 2.
test-windows
Type '(init: Init) => Promise<NonNullable<ParseAsResponse<GetResponseContent<ResponseObjectMap<Paths[Path][Method]>, Media, "2XX">, Init>> | NonNullable<...>>' is not assignable to type 'MutationFunction<Response["data"], Init>'.
test-windows
Process completed with exit code 1.