Skip to content

Commit ab7d5ee

Browse files
add missing methods
1 parent 13afdb8 commit ab7d5ee

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/lib/dom.iterable.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,18 @@ interface NodeListOf<TNode extends Node> {
7272
}
7373

7474
interface URLSearchParams {
75+
/**
76+
* Returns an array of key, value pairs for every entry in the search params
77+
*/
78+
entries(): IterableIterator<[string, string]>;
79+
/**
80+
* Returns a list of keys in the search params
81+
*/
82+
keys(): IterableIterator<string>;
83+
/**
84+
* Returns a list of values in the search params
85+
*/
86+
values(): IterableIterator<string>;
7587
/**
7688
* iterate over key/value pairs
7789
*/

0 commit comments

Comments
 (0)