File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/tracing/src/browser Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,11 @@ export interface FetchData {
48
48
// span_id
49
49
__span ?: string ;
50
50
} ;
51
- response ?: Response ;
51
+
52
+ // TODO (kmclb) Once type fix goes through, turn this back into a Response
53
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
54
+ response ?: any ;
55
+
52
56
startTimestamp : number ;
53
57
endTimestamp ?: number ;
54
58
}
@@ -147,6 +151,8 @@ export function fetchCallback(
147
151
if ( span ) {
148
152
const response = handlerData . response ;
149
153
if ( response ) {
154
+ // TODO (kmclb) remove this once types PR goes through
155
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
150
156
span . setHttpStatus ( response . status ) ;
151
157
}
152
158
span . finish ( ) ;
You can’t perform that action at this time.
0 commit comments