diff --git a/src/lib/dom.iterable.d.ts b/src/lib/dom.iterable.d.ts index a3f3f238fb2..ebdb01603e7 100644 --- a/src/lib/dom.iterable.d.ts +++ b/src/lib/dom.iterable.d.ts @@ -10,7 +10,9 @@ interface NodeList { * Returns an list of values in the list */ entries(): IterableIterator; - + /** + * Executes a provided function once per NodeList element. + */ forEach(callbackfn: (value: Node, index: number, listObj: NodeList) => void, thisArg?: any): void; /** * Returns an list of keys in the list @@ -30,7 +32,10 @@ interface NodeListOf { * Returns an list of values in the list */ entries(): IterableIterator; - + + /** + * Executes a provided function once per NodeList element. + */ forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf) => void, thisArg?: any): void; /** * Returns an list of keys in the list