TypeScript-DOM-lib-generator icon indicating copy to clipboard operation
TypeScript-DOM-lib-generator copied to clipboard

`RadioNodeList` should extend `NodeListOf<HTMLInputElement>`

Open ARitz-Cracker opened this issue 1 year ago • 0 comments

RadioNodeList currently extend NodeList, while this is technically correct, the items of said node list (as far as I'm aware) are guaranteed to be the radio buttons themselves, which are of type HTMLInputElement. This would eliminate an as when interacting with the properties of the radio buttons, e.g. checked.

ARitz-Cracker avatar Jul 30 '24 16:07 ARitz-Cracker