"getElementsByTagName('svg')" does not returns NodeList of SVGSVGElement, but generic NodeList. #1618
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
Revisit
An issue worth coming back to
Milestone
For example:
The expected type of
svgs
isNodeListOf<SVGSVGElement>
, but it is normalNodeList
actually.The text was updated successfully, but these errors were encountered: