From 4ee67708ebe1ba756eb1e3bb86f14fba937c9dc2 Mon Sep 17 00:00:00 2001 From: Eugene Terehov Date: Thu, 19 Nov 2020 21:14:21 +0200 Subject: [PATCH] Remove any and rename variable --- src/LoggerWithoutCallSite.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/LoggerWithoutCallSite.ts b/src/LoggerWithoutCallSite.ts index a8927abe..714822f8 100644 --- a/src/LoggerWithoutCallSite.ts +++ b/src/LoggerWithoutCallSite.ts @@ -43,7 +43,9 @@ export class LoggerWithoutCallSite { private _mySettings: ISettingsParam = {}; private _childLogger: Logger[] = []; private _maskAnyRegExp: RegExp | undefined; - protected _callSiteWrapper: (frame: any) => any = (x) => x; + protected _callSiteWrapper: (callSite: NodeJS.CallSite) => NodeJS.CallSite = ( + callSite: NodeJS.CallSite + ) => callSite; /** * @param settings - Configuration of the logger instance (all settings are optional with sane defaults)