File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
packages/core/src/types-hoist Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ export type {
113113 SpanContextData ,
114114 TraceFlag ,
115115} from './span' ;
116- export type { SpanLink , SpanLinkJSON } from './link' ;
117116export type { SpanStatus } from './spanStatus' ;
118117export type { TimedEvent } from './timedEvent' ;
119118export type { StackFrame } from './stackframe' ;
Original file line number Diff line number Diff line change @@ -257,15 +257,15 @@ export interface Span {
257257 * Prefer setting links directly when starting a span (e.g. `Sentry.startSpan()`) as some context information is only available during span creation.
258258 * @param link - The link containing the context of the span to link to and optional attributes
259259 */
260- addLink ( link : SpanLink ) : this;
260+ addLink ( link : SpanLink | unknown ) : this;
261261
262262 /**
263263 * Associates this span with multiple related spans. See {@link addLink} for more details.
264264 *
265265 * Prefer setting links directly when starting a span (e.g. `Sentry.startSpan()`) as some context information is only available during span creation.
266266 * @param links - Array of links to associate with this span
267267 */
268- addLinks ( links : SpanLink [ ] ) : this;
268+ addLinks ( links : SpanLink [ ] | unknown ) : this;
269269
270270 /**
271271 * NOT USED IN SENTRY, only added for compliance with OTEL Span interface
You can’t perform that action at this time.
0 commit comments