You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No overload matches this call. Overload 1 of 2, '(config: AxiosRequestConfig<any>): Promise<AxiosResponse<any, any>>', gave the following error. Type 'void' is not assignable to type 'AxiosHeaders | (Partial<RawAxiosHeaders & { Accept: AxiosHeaderValue; "Content-Length": AxiosHeaderValue; "User-Agent": AxiosHeaderValue; "Content-Encoding": AxiosHeaderValue; Authorization: AxiosHeaderValue; } & { ...; }> & Partial<...>) | undefined'. Overload 2 of 2, '(url: string, config?: AxiosRequestConfig<any> | undefined): Promise<AxiosResponse<any, any>>', gave the following error. Argument of type '{ method: Method; url: string; data: any; headers: void; }' is not assignable to parameter of type 'string'.ts(2769) index.d.ts(312, 3): The expected type comes from property 'headers' which is declared here on type 'AxiosRequestConfig<any>'
The setHeader function at /frontend/src/utils/request-service.tsx seems to be causing this issue @merikbest
The text was updated successfully, but these errors were encountered:
No overload matches this call. Overload 1 of 2, '(config: AxiosRequestConfig<any>): Promise<AxiosResponse<any, any>>', gave the following error. Type 'void' is not assignable to type 'AxiosHeaders | (Partial<RawAxiosHeaders & { Accept: AxiosHeaderValue; "Content-Length": AxiosHeaderValue; "User-Agent": AxiosHeaderValue; "Content-Encoding": AxiosHeaderValue; Authorization: AxiosHeaderValue; } & { ...; }> & Partial<...>) | undefined'. Overload 2 of 2, '(url: string, config?: AxiosRequestConfig<any> | undefined): Promise<AxiosResponse<any, any>>', gave the following error. Argument of type '{ method: Method; url: string; data: any; headers: void; }' is not assignable to parameter of type 'string'.ts(2769) index.d.ts(312, 3): The expected type comes from property 'headers' which is declared here on type 'AxiosRequestConfig<any>'
The setHeader function at /frontend/src/utils/request-service.tsx seems to be causing this issue @merikbest
The text was updated successfully, but these errors were encountered: