diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 29123092e6..dd7756d2b2 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -427,7 +427,7 @@ declare namespace React { // always pass children as variadic arguments to `createElement`. // In the future, if we can define its call signature conditionally // on the existence of `children` in `P`, then we should remove this. - readonly props: Readonly>; + readonly props: Readonly

& Readonly<{ children?: ReactNode }>; state: Readonly; /** * @deprecated