UNPKG

492 BTypeScriptView Raw
1declare namespace htmlTagsVoid {
2 export type htmlTagsVoid =
3 | 'area'
4 | 'base'
5 | 'br'
6 | 'col'
7 | 'embed'
8 | 'hr'
9 | 'img'
10 | 'input'
11 | 'link'
12 | 'menuitem'
13 | 'meta'
14 | 'param'
15 | 'source'
16 | 'track'
17 | 'wbr'
18}
19
20/**
21List of standard, self-closing HTML tags.
22
23@example
24```
25import htmlTags = require('html-tags/void');
26
27console.log(htmlTags);
28//=> ['a', 'abbr', 'acronym' …]
29```
30*/
31declare const htmlTagsVoid: readonly htmlTagsVoid.htmlTagsVoid[];
32
33export = htmlTagsVoid;