Skip to content

Commit

Permalink
change to forEach method
Browse files Browse the repository at this point in the history
  • Loading branch information
cedvdb committed Mar 15, 2017
1 parent 8cac528 commit 45ae0b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/dom.iterable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ interface NodeList {
keys(): IterableIterator<number>;
values(): IterableIterator<[number, Node]>;
entries(): IterableIterator<Node>;
forEach(): void;
forEach(callbackfn: (value: Node, index: number, listObj: NodeList) => void, thisArg?: any): void;
[Symbol.iterator](): IterableIterator<Node>
}

interface NodeListOf<TNode extends Node> {
keys(): IterableIterator<number>;
values(): IterableIterator<[number, TNode]>;
entries(): IterableIterator<TNode>;
forEach(): void;
forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf<TNode>) => void, thisArg?: any): void;
[Symbol.iterator](): IterableIterator<TNode>
}

0 comments on commit 45ae0b4

Please sign in to comment.