File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
src/HttpClient/middlewares/request/setupAxios/interceptors/tracing Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ interface AxiosRequestTracingContext extends MiddlewaresTracingContext {
9
9
requestSpan ?: Span
10
10
}
11
11
12
- // Modificado para usar AxiosRequestConfig em vez de InternalAxiosRequestConfig
13
12
interface TraceableAxiosRequestConfig extends AxiosRequestConfig {
14
13
tracing ?: AxiosRequestTracingContext
15
14
}
@@ -74,7 +73,6 @@ const onResponseError = (err: ExtendedAxiosError) => {
74
73
}
75
74
76
75
export const addTracingPreRequestInterceptor = ( http : AxiosInstance ) => {
77
- // Usando type assertion para compatibilidade com TypeScript 3.9.7
78
76
const requestTracingInterceptor = http . interceptors . request . use (
79
77
preRequestInterceptor ( http ) as any ,
80
78
undefined
@@ -84,7 +82,6 @@ export const addTracingPreRequestInterceptor = (http: AxiosInstance) => {
84
82
}
85
83
86
84
export const addTracingResponseInterceptor = ( http : AxiosInstance ) => {
87
- // Usando type assertion para compatibilidade com TypeScript 3.9.7
88
85
const responseTracingInterceptor = http . interceptors . response . use (
89
86
onResponseSuccess as any ,
90
87
onResponseError as any
You can’t perform that action at this time.
0 commit comments