mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix #15243: add URLSearchParams to iterable
This commit is contained in:
1 parent
b267492127
commit
13afdb81e8
1 file changed
+7
Vendored
+7
@@ -70,3 +70,10 @@ interface NodeListOf<TNode extends Node> {
|
||||
|
||||
[Symbol.iterator](): IterableIterator<TNode>;
|
||||
}
|
||||
|
||||
interface URLSearchParams {
|
||||
/**
|
||||
* iterate over key/value pairs
|
||||
*/
|
||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
||||
}
|
||||
Reference in new issue
Block a user