Skip to content

Commit e3baf8b

Browse files
committed
Bug (Tracer): Tracer imports all the components via TracerInterface aws-powertools#1068
1 parent bafed02 commit e3baf8b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: packages/tracer/src/Tracer.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { Handler } from 'aws-lambda';
21
import { AsyncHandler, SyncHandler, Utility } from '@aws-lambda-powertools/commons';
3-
import { TracerInterface } from '.';
2+
import { Handler } from 'aws-lambda';
3+
import { Segment, Subsegment } from 'aws-xray-sdk-core';
44
import { ConfigServiceInterface, EnvironmentVariablesService } from './config';
5-
import { HandlerMethodDecorator, TracerOptions, MethodDecorator } from './types';
65
import { ProviderService, ProviderServiceInterface } from './provider';
7-
import { Segment, Subsegment } from 'aws-xray-sdk-core';
6+
import { TracerInterface } from './TracerInterface';
7+
import { HandlerMethodDecorator, MethodDecorator, TracerOptions } from './types';
88

99
/**
1010
* ## Intro
@@ -823,4 +823,4 @@ class Tracer extends Utility implements TracerInterface {
823823

824824
export {
825825
Tracer
826-
};
826+
};

0 commit comments

Comments
 (0)