File tree 1 file changed +2
-2
lines changed
packages/core/src/types-hoist
1 file changed +2
-2
lines changed 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 | unknown ) : this;
260
+ addLink ( link : SpanLink ) : 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 [ ] | unknown ) : this;
268
+ addLinks ( links : SpanLink [ ] ) : 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