Skip to content

Axios client

Axios client #1001

Triggered via pull request July 20, 2024 22:45
Status Failure
Total duration 54s
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>; query?: Record<string, unknown>; url: string; lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<[address: LookupAddressEntry | Lo...' is not assignable to type 'ReqInit'.
Upload
Type '{ url: string; path?: Record<string, unknown>; query?: Record<string, unknown>; lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<[address: LookupAddressEntry | Lo...' 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