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 {
4848 // span_id
4949 __span ?: string ;
5050 } ;
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+
5256 startTimestamp : number ;
5357 endTimestamp ?: number ;
5458}
@@ -147,6 +151,8 @@ export function fetchCallback(
147151 if ( span ) {
148152 const response = handlerData . response ;
149153 if ( response ) {
154+ // TODO (kmclb) remove this once types PR goes through
155+ // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
150156 span . setHttpStatus ( response . status ) ;
151157 }
152158 span . finish ( ) ;
You can’t perform that action at this time.
0 commit comments