@@ -2068,7 +2068,7 @@ declare namespace React {
2068
2068
alt ?: string | undefined ;
2069
2069
as ?: string | undefined ;
2070
2070
async ?: boolean | undefined ;
2071
- autoComplete ?: string | undefined ;
2071
+ autoComplete ?: HTMLInputElement [ 'autocomplete' ] ;
2072
2072
autoPlay ?: boolean | undefined ;
2073
2073
capture ?: boolean | "user" | "environment" | undefined ;
2074
2074
cellPadding ?: number | string | undefined ;
@@ -2294,7 +2294,7 @@ declare namespace React {
2294
2294
| DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS [
2295
2295
keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS
2296
2296
] ;
2297
- autoComplete ?: string | undefined ;
2297
+ autoComplete ?: HTMLFormElement [ 'autocomplete' ] ;
2298
2298
encType ?: string | undefined ;
2299
2299
method ?: string | undefined ;
2300
2300
name ?: string | undefined ;
@@ -2376,7 +2376,7 @@ declare namespace React {
2376
2376
interface InputHTMLAttributes < T > extends HTMLAttributes < T > {
2377
2377
accept ?: string | undefined ;
2378
2378
alt ?: string | undefined ;
2379
- autoComplete ?: string | undefined ;
2379
+ autoComplete ?: HTMLInputElement [ 'autocomplete' ] ;
2380
2380
capture ?: boolean | "user" | "environment" | undefined ; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2381
2381
checked ?: boolean | undefined ;
2382
2382
disabled ?: boolean | undefined ;
@@ -2555,7 +2555,7 @@ declare namespace React {
2555
2555
}
2556
2556
2557
2557
interface SelectHTMLAttributes < T > extends HTMLAttributes < T > {
2558
- autoComplete ?: string | undefined ;
2558
+ autoComplete ?: HTMLSelectElement [ 'autocomplete' ] ;
2559
2559
disabled ?: boolean | undefined ;
2560
2560
form ?: string | undefined ;
2561
2561
multiple ?: boolean | undefined ;
@@ -2595,7 +2595,7 @@ declare namespace React {
2595
2595
}
2596
2596
2597
2597
interface TextareaHTMLAttributes < T > extends HTMLAttributes < T > {
2598
- autoComplete ?: string | undefined ;
2598
+ autoComplete ?: HTMLTextAreaElement [ 'autocomplete' ] ;
2599
2599
cols ?: number | undefined ;
2600
2600
dirName ?: string | undefined ;
2601
2601
disabled ?: boolean | undefined ;
0 commit comments