diff --git a/compat/src/index.d.ts b/compat/src/index.d.ts index ee7725228c..8857dfba46 100644 --- a/compat/src/index.d.ts +++ b/compat/src/index.d.ts @@ -748,7 +748,7 @@ declare namespace React { ): void; export type PropsWithChildren
= P & { - children?: preact.ComponentChild | undefined; + children?: preact.ComponentChildren | undefined; }; export const Children: {