Closed
Description
I feel like this might be missing a type. Per the MDN docs on URLSearchParams you should be able to initialize it with a FormData. I believe that we might want to add Iterable<[string, string]>
or even just FormData
to the allowed init types.
The code actually works but the types are not allowed. In your console, the following code works.
let formData = new FormData()
let urlSearchParams = new UrlSearchParams(formData)
Lines 14942 to 14946 in 20c93d3
Metadata
Metadata
Assignees
Labels
No labels