@@ -139,7 +139,7 @@ type domProps = {
139
139
contentEditable ?: bool ,
140
140
contextMenu ?: string ,
141
141
@as ("data-testid" ) dataTestId ?: string ,
142
- dir ?: [ #ltr | # rtl | # auto] ,
142
+ dir ?: string /* "ltr", " rtl" or " auto" */ ,
143
143
draggable ?: bool ,
144
144
hidden ?: bool ,
145
145
id ?: string ,
@@ -182,11 +182,11 @@ type domProps = {
182
182
defer ?: bool ,
183
183
disabled ?: bool ,
184
184
download ?: string /* should really be either a boolean, signifying presence, or a string */ ,
185
- encType ?: [ # "application/x-www-form-urlencoded" | # "multipart/form-data" | # "text/plain" ] ,
185
+ encType ?: string /* "application/x-www-form-urlencoded", "multipart/form-data" or "text/plain" */ ,
186
186
form ?: string ,
187
187
formAction ?: string /* uri */ ,
188
- formTarget ?: [ # _self | # _blank | # _parent | # _top ] ,
189
- formMethod ?: [ #get | #head | # post | # put | #delete | #connect | #options | #trace | #patch ] ,
188
+ formTarget ?: string /* " _blank", "_self", etc. */ ,
189
+ formMethod ?: string /* " post", "get", " put" */ ,
190
190
headers ?: string ,
191
191
height ?: string /* in html5 this can only be a number, but in html4 it can ba a percentage as well */ ,
192
192
high ?: int ,
@@ -195,7 +195,7 @@ type domProps = {
195
195
htmlFor ?: string /* substitute for "for" */ ,
196
196
httpEquiv ?: string /* has a fixed set of possible values */ ,
197
197
icon ?: string /* uri? */ ,
198
- inputMode ?: [ #none | #text | #decimal | # numeric | #tel | #search | #email | #url ] ,
198
+ inputMode ?: string /* "verbatim", "latin", " numeric", etc. */ ,
199
199
integrity ?: string ,
200
200
keyType ?: string ,
201
201
kind ?: string /* has a fixed set of possible values */ ,
@@ -209,7 +209,7 @@ type domProps = {
209
209
maxLength ?: int ,
210
210
media ?: string /* a valid media query */ ,
211
211
mediaGroup ?: string ,
212
- method ?: [ # post | # get | #dialog ] ,
212
+ method ?: string /* " post" or " get" */ ,
213
213
min ?: string ,
214
214
minLength ?: int ,
215
215
multiple ?: bool ,
0 commit comments