Skip to content

Commit a99796e

Browse files
authored
fix: change autofocus type from string to boolean
Signed-off-by: Lucas Cândido <lcssbr@gmail.com>
1 parent 6008e56 commit a99796e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/html/jsx.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ declare namespace JSX {
190190

191191
interface HtmlButtonTag extends HtmlTag {
192192
action?: undefined | string;
193-
autofocus?: undefined | string;
193+
autofocus?: undefined | boolean;
194194
disabled?: undefined | boolean;
195195
enctype?: undefined | string;
196196
form?: undefined | string;
@@ -302,7 +302,7 @@ declare namespace JSX {
302302
action?: undefined | string;
303303
alt?: undefined | string;
304304
autocomplete?: undefined | string;
305-
autofocus?: undefined | string;
305+
autofocus?: undefined | boolean;
306306
checked?: undefined | boolean;
307307
disabled?: undefined | boolean;
308308
enctype?: undefined | string;
@@ -336,7 +336,7 @@ declare namespace JSX {
336336
}
337337

338338
interface KeygenTag extends HtmlTag {
339-
autofocus?: undefined | string;
339+
autofocus?: undefined | boolean;
340340
challenge?: undefined | string;
341341
disabled?: undefined | boolean;
342342
form?: undefined | string;
@@ -517,7 +517,7 @@ declare namespace JSX {
517517
}
518518

519519
interface HtmlTextAreaTag extends HtmlTag {
520-
autofocus?: undefined | string;
520+
autofocus?: undefined | boolean;
521521
cols?: undefined | string;
522522
dirname?: undefined | string;
523523
disabled?: undefined | boolean;

0 commit comments

Comments
 (0)