Added comment for forEach
This commit is contained in:
parent
f20c59a7d2
commit
8d0e0f3f79
9
src/lib/dom.iterable.d.ts
vendored
9
src/lib/dom.iterable.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue