From ab2ff9bc741b13dfe614fe4024b8e2faef9eebad Mon Sep 17 00:00:00 2001 From: hesxenon <10255566+hesxenon@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:07:03 +0200 Subject: [PATCH] fix: props with children didn't allow for multiple children in some weird cases this led to wrong errors being displayed --- compat/src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {