Skip to content

Commit 62aef7b

Browse files
brennantaylorashishagg
authored andcommitted
Add string types to constructor args (#19)
1 parent 6f171e2 commit 62aef7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/span_context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ export default class SpanContext extends opentracing.SpanContext {
2424
baggage: any;
2525

2626
constructor(
27-
traceId,
28-
spanId,
29-
parentSpanId,
27+
traceId: string,
28+
spanId: string,
29+
parentSpanId: string,
3030
baggage = {}) {
3131
super();
3232
this.traceId = traceId;

0 commit comments

Comments
 (0)