From 9dfebbc9496138efbeedc431068f41662c780f3e Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 21 Apr 2019 16:40:10 -0400 Subject: Fix eslint warnings (#2151) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk Co-authored-by: LE GOFF Vincent --- js/performance_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/performance_test.ts') diff --git a/js/performance_test.ts b/js/performance_test.ts index 8f9dbc990..1238a3836 100644 --- a/js/performance_test.ts +++ b/js/performance_test.ts @@ -1,9 +1,9 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import { testPerm, assert } from "./test_util.ts"; -testPerm({ highPrecision: false }, function now() { +testPerm({ highPrecision: false }, function now(): void { const start = performance.now(); - setTimeout(() => { + setTimeout((): void => { const end = performance.now(); assert(end - start >= 10); }, 10); -- cgit v1.2.3