xo: Fix @typescript-eslint/no-confusing-void-expression.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-01-25 11:04:19 -08:00
parent fa6d72268f
commit cc2424e0bf
7 changed files with 54 additions and 18 deletions

View File

@@ -116,7 +116,9 @@ export default class Logger {
}
setupConsoleMethod(type: Level): void {
this[type] = (...args: unknown[]) => this._log(type, ...args);
this[type] = (...args: unknown[]) => {
this._log(type, ...args);
};
}
getTimestamp(): string {