DomTokenList has no method "forEach" #25968
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 3.1.0-dev.20180726
Search Terms: DomTokenList forEach classList
Code
Expected behavior:
File just Compiles wwithout generating an error according to https://developer.mozilla.org/de/docs/Web/API/DOMTokenList/forEach
Actual behavior:
Playground Link:
https://www.typescriptlang.org/play/#src=.....
The file from where VS Code loads the DOMTokenList is: /usr/share/code/resources/app/extensions/node_modules/typescript/lib/lib.dom.d.ts
The text was updated successfully, but these errors were encountered: