From 9e6205630e1c9cf863adf141c0edb9e6d8d4b149 Mon Sep 17 00:00:00 2001 From: Sean Sattler Date: Wed, 30 Aug 2023 20:29:27 +0200 Subject: [PATCH] fix(types): removed duplicated code Co-authored-by: Jay --- index.d.cts | 5 +---- index.d.ts | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/index.d.cts b/index.d.cts index bf2c92f83f..8d133e9fe2 100644 --- a/index.d.cts +++ b/index.d.cts @@ -244,10 +244,7 @@ declare namespace axios { interface AxiosProxyConfig { host: string; port: number; - auth?: { - username: string; - password: string; - }; + auth?: AxiosBasicCredentials; protocol?: string; } diff --git a/index.d.ts b/index.d.ts index ec38dce249..19a7d1a91f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -119,10 +119,7 @@ export interface AxiosBasicCredentials { export interface AxiosProxyConfig { host: string; port: number; - auth?: { - username: string; - password: string; - }; + auth?: AxiosBasicCredentials; protocol?: string; }