Skip to content

Axios client

Axios client #790

Triggered via pull request May 23, 2024 13:12
Status Failure
Total duration 59s
Artifacts

coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Upload
'AxiosError' is declared but never used.
Upload
'AxiosInstance' is declared but never used.
Upload
'AxiosResponse' is declared but never used.
Upload
Type 'Headers' is not assignable to type 'AxiosHeaders | (Partial<RawAxiosHeaders & { Accept: AxiosHeaderValue; "Content-Length": AxiosHeaderValue; "User-Agent": AxiosHeaderValue; "Content-Encoding": AxiosHeaderValue; Authorization: AxiosHeaderValue; } & { ...; }> & Partial<...>) | Record<...> | undefined'.
Upload
Type 'Headers' is not assignable to type '(AxiosHeaders | (Partial<RawAxiosHeaders & { Accept: AxiosHeaderValue; "Content-Length": AxiosHeaderValue; "User-Agent": AxiosHeaderValue; "Content-Encoding": AxiosHeaderValue; Authorization: AxiosHeaderValue; } & { ...; }> & Partial<...>) | Record<...> | undefined) & Headers'.
Upload
Type '{ path?: Record<string, unknown> | undefined; query?: Record<string, unknown> | undefined; url: string; lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<...>) | u...' is not assignable to type 'ReqInit'.
Upload
Type '{ url: string; path?: Record<string, unknown> | undefined; query?: Record<string, unknown> | undefined; lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<...>) | u...' is not assignable to type 'AxiosRequestConfig<any>'.
Upload
Type 'Request' is not assignable to type 'AxiosRequestConfig<any>'.
Upload
Argument of type 'AxiosRequestConfig<any>' is not assignable to parameter of type 'Request'.
Upload
Type 'Response' is missing the following properties from type 'AxiosResponse<any, any>': data, config