mirror of
https://github.com/denoland/deno.git
synced 2024-12-26 17:19:06 -05:00
tests: remove redundant type assertion (#11794)
This commit is contained in:
parent
6f63d739ab
commit
4c1e56b2f0
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue