Skip to content

Commit

Permalink
Remove any and rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
terehov committed Nov 19, 2020
1 parent 26b8d0d commit 4ee6770
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/LoggerWithoutCallSite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4ee6770

Please sign in to comment.