Skip to content

Commit

Permalink
fix(types): Remove redundant implementee (#2951)
Browse files Browse the repository at this point in the history
The `Span` interface extends the `SpanContext` interface, so anything in the latter is definitely in the former. Therefore, implementing the "superset" interface is sufficient.
  • Loading branch information
lobsterkatie authored Oct 2, 2020
1 parent 5ac0fca commit 62624bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tracing/src/span.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class SpanRecorder {
/**
* Span contains all data about a span
*/
export class Span implements SpanInterface, SpanContext {
export class Span implements SpanInterface {
/**
* @inheritDoc
*/
Expand Down

0 comments on commit 62624bd

Please sign in to comment.