Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Remove TChannelSpan type declaration since it's not reusable
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Shkuro committed Nov 22, 2016
1 parent 172cf74 commit 6e71a1f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/_flow/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

// Counter tracks the number of times an event has occurred
declare interface Counter {
// Add adds the given value to the counter.
// Adds the given value to the counter.
increment(delta: number): void;
}

Expand Down
27 changes: 0 additions & 27 deletions src/_flow/tchannel.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/tchannel_bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default class TChannelBridge {
return channel;
}

static makeFakeTChannelParentSpan(): TChannelSpan {
static makeFakeTChannelParentSpan(): any {
return {
id: [0, 0],
traceid: [0, 0],
Expand Down

0 comments on commit 6e71a1f

Please sign in to comment.