Skip to content

Commit 4ee6770

Browse files
committed
Remove any and rename variable
1 parent 26b8d0d commit 4ee6770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/LoggerWithoutCallSite.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ export class LoggerWithoutCallSite {
4343
private _mySettings: ISettingsParam = {};
4444
private _childLogger: Logger[] = [];
4545
private _maskAnyRegExp: RegExp | undefined;
46-
protected _callSiteWrapper: (frame: any) => any = (x) => x;
46+
protected _callSiteWrapper: (callSite: NodeJS.CallSite) => NodeJS.CallSite = (
47+
callSite: NodeJS.CallSite
48+
) => callSite;
4749

4850
/**
4951
* @param settings - Configuration of the logger instance (all settings are optional with sane defaults)

0 commit comments

Comments
 (0)