From 22ab6dad06f74c7e648dd0781c7cacbe66c1596c Mon Sep 17 00:00:00 2001 From: Junhao Liao Date: Mon, 7 Oct 2024 15:49:17 +0800 Subject: [PATCH] Add / remove empty lines - Apply suggestions from code review Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> --- new-log-viewer/src/typings/logs.ts | 2 +- new-log-viewer/src/utils/data.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/new-log-viewer/src/typings/logs.ts b/new-log-viewer/src/typings/logs.ts index 79bfc1e0..e5cd333f 100644 --- a/new-log-viewer/src/typings/logs.ts +++ b/new-log-viewer/src/typings/logs.ts @@ -43,9 +43,9 @@ const LOG_LEVEL_VALUES = Object.freeze( const MAX_LOG_LEVEL = Math.max(...LOG_LEVEL_VALUES); - const INVALID_TIMESTAMP_VALUE = 0; + export type { LogEvent, LogLevelFilter, diff --git a/new-log-viewer/src/utils/data.ts b/new-log-viewer/src/utils/data.ts index 8f95bc24..9a732fd7 100644 --- a/new-log-viewer/src/utils/data.ts +++ b/new-log-viewer/src/utils/data.ts @@ -132,7 +132,6 @@ const getMapValueWithNearestLessThanOrEqualKey = ( map.get(lowerBoundKey) as T; }; - /** * Creates an array of numbers in the range `[begin, end)` with the `i`th element computed as * `range[i - 1] + step`.