mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Added comment for forEach
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user