From 50a79584cb12129b3db1ef3e0eb9d0c8b9f20b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 30 May 2019 14:59:30 +0200 Subject: chore: Implement strict mode (denoland/deno_std#453) Original: https://github.com/denoland/deno_std/commit/be24677d15494e83eea2e99bfc5ccfdde31cb892 --- testing/asserts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/asserts.ts') diff --git a/testing/asserts.ts b/testing/asserts.ts index a2583c22a..cbdaf3a94 100644 --- a/testing/asserts.ts +++ b/testing/asserts.ts @@ -183,7 +183,7 @@ export function assertArrayContains( expected: unknown[], msg?: string ): void { - let missing = []; + let missing: unknown[] = []; for (let i = 0; i < expected.length; i++) { let found = false; for (let j = 0; j < actual.length; j++) { -- cgit v1.2.3