diff --git a/.gitignore b/.gitignore index a968e2f..1448a9a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ dist .cache .parcel-cache .vscode + +# npm pack default output +middleware-axios-0.0.0.tgz \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 05c7075..6b6ba7b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ export interface Middleware { ( requestConfig: AxiosRequestConfig, next: Next, - instanceDefaults: CreateAxiosDefaults, + instanceDefaults: AxiosInstance['defaults'], ): Promise; }