Skip to content

Commit 3664748

Browse files
committed
make Transaction class implement Transaction interface
1 parent a7f0dcc commit 3664748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tracing/src/transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { getCurrentHub, Hub } from '@sentry/hub';
2-
import { TransactionContext } from '@sentry/types';
2+
import { Transaction as TransactionInterface, TransactionContext } from '@sentry/types';
33
import { isInstanceOf, logger } from '@sentry/utils';
44

55
import { Span as SpanClass, SpanRecorder } from './span';
66

77
/** JSDoc */
8-
export class Transaction extends SpanClass {
8+
export class Transaction extends SpanClass implements TransactionInterface {
99
public name: string;
1010

1111
/**

0 commit comments

Comments
 (0)