Skip to content

Commit 13afdb8

Browse files
fix #15243: add URLSearchParams to iterable
1 parent b267492 commit 13afdb8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib/dom.iterable.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,10 @@ interface NodeListOf<TNode extends Node> {
7070

7171
[Symbol.iterator](): IterableIterator<TNode>;
7272
}
73+
74+
interface URLSearchParams {
75+
/**
76+
* iterate over key/value pairs
77+
*/
78+
[Symbol.iterator](): IterableIterator<[string, string]>;
79+
}

0 commit comments

Comments
 (0)