Skip to content

Commit 37c8083

Browse files
committed
fix: applied proper generic
1 parent 49c19bb commit 37c8083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class Tracer implements TracerInterface {
264264
// This is needed because some aws-sdk clients like AWS.DynamoDB.DocumentDB don't comply with the same
265265
// instrumentation contract like most base clients.
266266
// For detailed explanation see: https://github.com/awslabs/aws-lambda-powertools-typescript/issues/524#issuecomment-1024493662
267-
this.provider.captureAWSClient((service as unknown as T & { service: T }).service);
267+
this.provider.captureAWSClient((service as T & { service: T }).service);
268268

269269
return service;
270270
} catch {

0 commit comments

Comments
 (0)