mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update index.d.ts (#38685)
Use same signature for `defaultValue` as `value`
This commit is contained in:
parent
ce5a543705
commit
554555bf57
2
types/react/index.d.ts
vendored
2
types/react/index.d.ts
vendored
@ -1632,7 +1632,7 @@ declare namespace React {
|
||||
interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
|
||||
// React-specific Attributes
|
||||
defaultChecked?: boolean;
|
||||
defaultValue?: string | string[];
|
||||
defaultValue?: string | number | string[];
|
||||
suppressContentEditableWarning?: boolean;
|
||||
suppressHydrationWarning?: boolean;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user