Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"getElementsByTagName('svg')" does not returns NodeList of SVGSVGElement, but generic NodeList. #1618

Closed
jsakamoto opened this issue Jan 8, 2015 · 0 comments
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

Comments

@jsakamoto
Copy link

For example:

var svgs = document.getElementsByTagName('svg');

The expected type of svgs is NodeListOf<SVGSVGElement>, but it is normal NodeList actually.

jsakamoto added a commit to jsakamoto/TypeScript that referenced this issue Jan 8, 2015
@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Jan 8, 2015
@mhegazy mhegazy self-assigned this Jan 8, 2015
@mhegazy mhegazy added this to the TypeScript 1.5 milestone Jan 8, 2015
@mhegazy mhegazy modified the milestones: TypeScript 1.5, TypeScript 1.6 Feb 5, 2015
@mhegazy mhegazy added the Revisit An issue worth coming back to label Apr 2, 2015
@mhegazy mhegazy assigned zhengbli and unassigned mhegazy Apr 7, 2015
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Apr 17, 2015
@mhegazy mhegazy closed this as completed Apr 17, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
4 participants