-
Notifications
You must be signed in to change notification settings - Fork 433
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
Update HTMLCollection and Add HTMLCollectionOf<T extends Element> #78
Conversation
Hi @FranklinWhale, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
@FranklinWhale, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR. |
@@ -7047,7 +7047,7 @@ interface HTMLTableElement extends HTMLElement { | |||
/** | |||
* Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order. | |||
*/ | |||
tBodies: HTMLCollection; | |||
tBodies: HTMLCollectionOf<HTMLTableSectionElement>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not HTMLTableBodyElement
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the return type of the following functions:
createElement(tagName: "tbody"): HTMLTableSectionElement;
getElementsByTagName(tagname: "tbody"): NodeListOf<HTMLTableSectionElement>;
createTBody(): HTMLTableSectionElement;
👍 |
Thanks. LGTM. |
First PR for Microsoft/TypeScript#424