From 2c5233b26858c31960f4ea33797c7dc16937c3a7 Mon Sep 17 00:00:00 2001 From: MarcusHong Date: Fri, 22 Nov 2024 12:31:49 +0900 Subject: [PATCH] Update index.d.ts --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c7c482d..984061a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -31,7 +31,7 @@ export interface Options pino.LevelWithSilent | CustomLevels) | undefined; customReceivedMessage?: ((req: IM, res: SR) => string) | undefined; customSuccessMessage?: ((req: IM, res: SR, responseTime: number) => string) | undefined; - customErrorMessage?: ((req: IM, res: SR, error: Error) => string) | undefined; + customErrorMessage?: ((req: IM, res: SR, error: Error, responseTime: number) => string) | undefined; customReceivedObject?: ((req: IM, res: SR, val?: any) => any) | undefined; customSuccessObject?: ((req: IM, res: SR, val: any) => any) | undefined; customErrorObject?: ((req: IM, res: SR, error: Error, val: any) => any) | undefined;