mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
added keys, values, `forEach, entries` to nodelist
This commit is contained in:
Vendored
+4
@@ -5,6 +5,10 @@ interface DOMTokenList {
|
||||
}
|
||||
|
||||
interface NodeList {
|
||||
keys(): IterableIterator<number>;
|
||||
values(): IterableIterator<[number, Node]>;
|
||||
entries(): IterableIterator<Node>;
|
||||
forEach(): void;
|
||||
[Symbol.iterator](): IterableIterator<Node>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user