mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-07 05:41:22 -06:00
fix #15243: add URLSearchParams to iterable
This commit is contained in:
parent
b267492127
commit
13afdb81e8
7
src/lib/dom.iterable.d.ts
vendored
7
src/lib/dom.iterable.d.ts
vendored
@ -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]>;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user