changed forEach comment
This commit is contained in:
parent
8d0e0f3f79
commit
db878adea3
1 changed files with 10 additions and 6 deletions
8
src/lib/dom.iterable.d.ts
vendored
8
src/lib/dom.iterable.d.ts
vendored
|
@ -11,7 +11,9 @@ interface NodeList {
|
|||
*/
|
||||
entries(): IterableIterator<Node>;
|
||||
/**
|
||||
* Executes a provided function once per NodeList element.
|
||||
* Performs the specified action for each node in an list.
|
||||
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
|
||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||
*/
|
||||
forEach(callbackfn: (value: Node, index: number, listObj: NodeList) => void, thisArg?: any): void;
|
||||
/**
|
||||
|
@ -34,7 +36,9 @@ interface NodeListOf<TNode extends Node> {
|
|||
entries(): IterableIterator<TNode>;
|
||||
|
||||
/**
|
||||
* Executes a provided function once per NodeList element.
|
||||
* Performs the specified action for each node in an list.
|
||||
* @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
|
||||
* @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
|
||||
*/
|
||||
forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf<TNode>) => void, thisArg?: any): void;
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue