Added comment for forEach

This commit is contained in:
cedvdb 2017-03-15 03:12:08 +01:00
parent f20c59a7d2
commit 8d0e0f3f79

View file

@ -10,7 +10,9 @@ interface NodeList {
* Returns an list of values in the list
*/
entries(): IterableIterator<Node>;
/**
* 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<TNode extends Node> {
* Returns an list of values in the list
*/
entries(): IterableIterator<TNode>;
/**
* Executes a provided function once per NodeList element.
*/
forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf<TNode>) => void, thisArg?: any): void;
/**
* Returns an list of keys in the list