From 3e1d26c4a9179046e30f5b635d1a7cdb385e577d Mon Sep 17 00:00:00 2001 From: Dmitrii Maganov Date: Mon, 16 Sep 2019 18:34:39 +0300 Subject: [PATCH] fix: Add info to express error handler logger type (#1557) --- packages/express/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/express/index.d.ts b/packages/express/index.d.ts index 1ab9bbcfae..871311824e 100644 --- a/packages/express/index.d.ts +++ b/packages/express/index.d.ts @@ -22,7 +22,7 @@ interface FeathersExpress extends Express { errorHandler (options?: { public?: string, - logger?: { error?: (msg: string) => void | null }, + logger?: { error: (msg: any) => void, info: (msg: any) => void }, html?: any, json?: any }): express.ErrorRequestHandler;