Skip to content

Commit 6736918

Browse files
committed
remove unknown typing
1 parent ebfafa8 commit 6736918

File tree

1 file changed

+2
-2
lines changed
  • packages/core/src/types-hoist

1 file changed

+2
-2
lines changed

packages/core/src/types-hoist/span.ts

+2-2
Original file line numberDiff line numberDiff 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 | unknown): this;
260+
addLink(link: SpanLink): 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[] | unknown): this;
268+
addLinks(links: SpanLink[]): this;
269269

270270
/**
271271
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface

0 commit comments

Comments
 (0)