File tree 2 files changed +2
-3
lines changed
packages/core/src/types-hoist
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ export type {
113
113
SpanContextData ,
114
114
TraceFlag ,
115
115
} from './span' ;
116
- export type { SpanLink , SpanLinkJSON } from './link' ;
117
116
export type { SpanStatus } from './spanStatus' ;
118
117
export type { TimedEvent } from './timedEvent' ;
119
118
export type { StackFrame } from './stackframe' ;
Original file line number Diff line number Diff line change @@ -257,15 +257,15 @@ export interface Span {
257
257
* Prefer setting links directly when starting a span (e.g. `Sentry.startSpan()`) as some context information is only available during span creation.
258
258
* @param link - The link containing the context of the span to link to and optional attributes
259
259
*/
260
- addLink ( link : SpanLink ) : this;
260
+ addLink ( link : SpanLink | unknown ) : this;
261
261
262
262
/**
263
263
* Associates this span with multiple related spans. See {@link addLink} for more details.
264
264
*
265
265
* Prefer setting links directly when starting a span (e.g. `Sentry.startSpan()`) as some context information is only available during span creation.
266
266
* @param links - Array of links to associate with this span
267
267
*/
268
- addLinks ( links : SpanLink [ ] ) : this;
268
+ addLinks ( links : SpanLink [ ] | unknown ) : this;
269
269
270
270
/**
271
271
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
You can’t perform that action at this time.
0 commit comments