Skip to content

feat(types): add filter-input to HTMLElementTagNameMap#9

Closed
nberlette wants to merge 1 commit intogithub:mainfrom
nberlette:patch-1
Closed

feat(types): add filter-input to HTMLElementTagNameMap#9
nberlette wants to merge 1 commit intogithub:mainfrom
nberlette:patch-1

Conversation

@nberlette
Copy link
Contributor

This PR adds filter-input to the global HTMLElementTagNameMap interface.

This is essentially the type-level equivalent of adding the tag to the global registry.

Since it is now a globally-recognized element, it's treated as a first class citizen in
the DOM, receiving full type support when using <filter-input> directly in your code,
or adding event listeners, and so on.

Adding `filter-input` to the global `HTMLElementTagNameMap` interface is the type-level equivalent of registering the tag in the global registry. Since it is now recognized as a globally-available element, it enables stronger types when using `<filter-input>` directly, or adding event listeners, etc.
@nberlette nberlette requested a review from a team as a code owner April 17, 2023 12:52
@nberlette nberlette closed this Apr 17, 2023
@nberlette nberlette deleted the patch-1 branch April 17, 2023 12:53
@nberlette nberlette restored the patch-1 branch April 17, 2023 12:53
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