This repository was archived by the owner on Nov 6, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +109
-0
lines changed Expand file tree Collapse file tree 1 file changed +109
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,115 @@ import {
1010} from '@phosphor/algorithm' ;
1111
1212
13+ /**
14+ * Define global element types to JSX namespace.
15+ */
16+ declare global {
17+ namespace JSX {
18+ interface IntrinsicElements {
19+ a : ElementAttrs ;
20+ abbr : ElementAttrs ;
21+ address : ElementAttrs ;
22+ area : ElementAttrs ;
23+ article : ElementAttrs ;
24+ aside : ElementAttrs ;
25+ audio : ElementAttrs ;
26+ b : ElementAttrs ;
27+ bdi : ElementAttrs ;
28+ bdo : ElementAttrs ;
29+ blockquote : ElementAttrs ;
30+ br : ElementAttrs ;
31+ button : ElementAttrs ;
32+ canvas : ElementAttrs ;
33+ caption : ElementAttrs ;
34+ cite : ElementAttrs ;
35+ code : ElementAttrs ;
36+ col : ElementAttrs ;
37+ colgroup : ElementAttrs ;
38+ data : ElementAttrs ;
39+ datalist : ElementAttrs ;
40+ dd : ElementAttrs ;
41+ del : ElementAttrs ;
42+ dfn : ElementAttrs ;
43+ div : ElementAttrs ;
44+ dl : ElementAttrs ;
45+ dt : ElementAttrs ;
46+ em : ElementAttrs ;
47+ embed : ElementAttrs ;
48+ fieldset : ElementAttrs ;
49+ figcaption : ElementAttrs ;
50+ figure : ElementAttrs ;
51+ footer : ElementAttrs ;
52+ form : ElementAttrs ;
53+ h1 : ElementAttrs ;
54+ h2 : ElementAttrs ;
55+ h3 : ElementAttrs ;
56+ h4 : ElementAttrs ;
57+ h5 : ElementAttrs ;
58+ h6 : ElementAttrs ;
59+ header : ElementAttrs ;
60+ hr : ElementAttrs ;
61+ i : ElementAttrs ;
62+ iframe : ElementAttrs ;
63+ img : ElementAttrs ;
64+ input : ElementAttrs ;
65+ ins : ElementAttrs ;
66+ kbd : ElementAttrs ;
67+ label : ElementAttrs ;
68+ legend : ElementAttrs ;
69+ li : ElementAttrs ;
70+ main : ElementAttrs ;
71+ map : ElementAttrs ;
72+ mark : ElementAttrs ;
73+ meter : ElementAttrs ;
74+ nav : ElementAttrs ;
75+ noscript : ElementAttrs ;
76+ object : ElementAttrs ;
77+ ol : ElementAttrs ;
78+ optgroup : ElementAttrs ;
79+ option : ElementAttrs ;
80+ output : ElementAttrs ;
81+ p : ElementAttrs ;
82+ param : ElementAttrs ;
83+ pre : ElementAttrs ;
84+ progress : ElementAttrs ;
85+ q : ElementAttrs ;
86+ rp : ElementAttrs ;
87+ rt : ElementAttrs ;
88+ ruby : ElementAttrs ;
89+ s : ElementAttrs ;
90+ samp : ElementAttrs ;
91+ section : ElementAttrs ;
92+ select : ElementAttrs ;
93+ small : ElementAttrs ;
94+ source : ElementAttrs ;
95+ span : ElementAttrs ;
96+ strong : ElementAttrs ;
97+ sub : ElementAttrs ;
98+ summary : ElementAttrs ;
99+ sup : ElementAttrs ;
100+ table : ElementAttrs ;
101+ tbody : ElementAttrs ;
102+ td : ElementAttrs ;
103+ textarea : ElementAttrs ;
104+ tfoot : ElementAttrs ;
105+ th : ElementAttrs ;
106+ thead : ElementAttrs ;
107+ time : ElementAttrs ;
108+ title : ElementAttrs ;
109+ tr : ElementAttrs ;
110+ track : ElementAttrs ;
111+ u : ElementAttrs ;
112+ ul : ElementAttrs ;
113+ var_ : ElementAttrs ;
114+ video : ElementAttrs ;
115+ wbr : ElementAttrs ;
116+ }
117+ interface Element extends VirtualElement { }
118+ }
119+ }
120+
121+
13122/**
14123 * The names of the supported HTML5 DOM element attributes.
15124 *
You can’t perform that action at this time.
0 commit comments