Update to axios v1.x (#315)

Update to axious v1.4.0
This commit is contained in:
schroda
2023-05-23 13:25:48 +02:00
committed by GitHub
parent 84433ffff8
commit 95ceac335b
4 changed files with 31 additions and 10 deletions

View File

@@ -95,7 +95,7 @@ export class RestClient implements IRestClient {
});
}
public updateConfig(config: AxiosRequestConfig): void {
public updateConfig(config: Partial<AxiosInstance['defaults']>): void {
this.client.defaults = { ...this.client.defaults, ...config };
}