Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f20c59a

Browse files
committed
change NodeList to NodeListOf in NodeListOf.forEach
1 parent d9cab83 commit f20c59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/dom.iterable.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface NodeListOf<TNode extends Node> {
3131
*/
3232
entries(): IterableIterator<TNode>;
3333

34-
forEach(callbackfn: (value: TNode, index: number, listObj: NodeList) => void, thisArg?: any): void;
34+
forEach(callbackfn: (value: TNode, index: number, listObj: NodeListOf<TNode>) => void, thisArg?: any): void;
3535
/**
3636
* Returns an list of keys in the list
3737
*/

0 commit comments

Comments
 (0)