Skip to content

Remove nodeListOf and htmlCollectionOf#220

Open
Freddy03h wants to merge 2 commits intorescript-lang:mainfrom
Freddy03h:nodelistof-htmlcollectionof
Open

Remove nodeListOf and htmlCollectionOf#220
Freddy03h wants to merge 2 commits intorescript-lang:mainfrom
Freddy03h:nodelistof-htmlcollectionof

Conversation

@Freddy03h
Copy link
Contributor

In most cases where nodeList is used, it could be nodeListOf<node> or nodeListOf<element>.
And where htmlCollection is used, it could be htmlCollectionOf<element>.

So I think we could remove nodeListOf and htmlCollectionOf, and instead have nodeList and htmlCollection take a type parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant