summaryrefslogtreecommitdiff
path: root/cli/js/utime_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/utime_test.ts')
-rw-r--r--cli/js/utime_test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/js/utime_test.ts b/cli/js/utime_test.ts
index 15c218df4..72a4a6477 100644
--- a/cli/js/utime_test.ts
+++ b/cli/js/utime_test.ts
@@ -3,7 +3,9 @@ import { testPerm, assert, assertEquals } from "./test_util.ts";
// Allow 10 second difference.
// Note this might not be enough for FAT (but we are not testing on such fs).
-function assertFuzzyTimestampEquals(t1: number, t2: number): void {
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
+function assertFuzzyTimestampEquals(t1: any, t2: number): void {
+ assert(typeof t1 === "number");
assert(Math.abs(t1 - t2) < 10);
}