-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLSearchParams should accept an iterable #741
Comments
Currently the blocker is #222, because
|
The current definition of entries(): IterableIterator<[string, string]>;
keys(): IterableIterator<string>;
values(): IterableIterator<string>; I suppose those are probably blocked on the same issue. |
@Ryan1729 Those are available when you set |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This works in the browser, but the TS definition doesn't allow it:
The type is currently:
The specification says that it should accept a "sequence", not specifically an array https://url.spec.whatwg.org/#concept-urlsearchparams-new
The text was updated successfully, but these errors were encountered: