From 554555bf57e885319cf94ca0dfced4bd9116a33c Mon Sep 17 00:00:00 2001 From: Aaron Reisman Date: Thu, 3 Oct 2019 15:25:01 -0700 Subject: [PATCH] Update index.d.ts (#38685) Use same signature for `defaultValue` as `value` --- types/react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 1131e12c72..fc49b20b96 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -1632,7 +1632,7 @@ declare namespace React { interface HTMLAttributes extends AriaAttributes, DOMAttributes { // React-specific Attributes defaultChecked?: boolean; - defaultValue?: string | string[]; + defaultValue?: string | number | string[]; suppressContentEditableWarning?: boolean; suppressHydrationWarning?: boolean;