Skip to content

Commit

Permalink
Add search HTML element to type definitions (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny committed Apr 5, 2023
1 parent c2af7e7 commit 273706f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ declare namespace htmlTags {
| 's'
| 'samp'
| 'script'
| 'search'
| 'section'
| 'select'
| 'slot'
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ const voidHtmlTags = require('html-tags/void');
console.log(voidHtmlTags);
//=> ['area', 'base', 'br', …]
```

## Contribute

Make sure to update types in `index.d.ts` when changing HTML elements.

0 comments on commit 273706f

Please sign in to comment.