Skip to content

Commit 097e27e

Browse files
authored
Fix typo in fastify logger type declaration (#589)
1 parent eebda75 commit 097e27e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk_contrib/fastify/lib/plugin.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as AWSXRay from 'aws-xray-sdk-core';
2-
import { FastityLoggerInstance } from 'fastify';
2+
import { FastifyLoggerInstance } from 'fastify';
33

44
declare module 'fastify' {
55
interface FastifyRequest {
@@ -12,7 +12,7 @@ export interface XRayFastifyPluginOptions {
1212
captureAWS: boolean;
1313
captureHTTP: boolean;
1414
capturePromises: boolean;
15-
logger: FastityLoggerInstance;
15+
logger: FastifyLoggerInstance;
1616
automaticMode: boolean;
1717
plugins: AWSXRay.plugins.Plugin[];
1818
}

0 commit comments

Comments
 (0)