You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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 justFormData
to the allowed init types.The code actually works but the types are not allowed. In your console, the following code works.
TypeScript/lib/lib.dom.d.ts
Lines 14942 to 14946 in 20c93d3
The text was updated successfully, but these errors were encountered: