From 4c1e56b2f07c36384a839e4f37efd07f94c71ba2 Mon Sep 17 00:00:00 2001 From: Feng Yu Date: Sat, 21 Aug 2021 14:55:28 +0800 Subject: [PATCH] tests: remove redundant type assertion (#11794) --- cli/tests/unit/url_search_params_test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/tests/unit/url_search_params_test.ts b/cli/tests/unit/url_search_params_test.ts index 0d6e1f2362..6e45d7ba02 100644 --- a/cli/tests/unit/url_search_params_test.ts +++ b/cli/tests/unit/url_search_params_test.ts @@ -102,8 +102,7 @@ unitTest(function urlSearchParamsInitRecord() { unitTest(function urlSearchParamsInit() { const params1 = new URLSearchParams("a=b"); assertEquals(params1.toString(), "a=b"); - // deno-lint-ignore no-explicit-any - const params2 = new URLSearchParams(params1 as any); + const params2 = new URLSearchParams(params1); assertEquals(params2.toString(), "a=b"); });