Skip to content

Commit 75fa1f3

Browse files
authored
Merge pull request #4493 from hesxenon/patch-1
fix: support multiple children in `PropsWithChildren` from compat
2 parents 8d0ee49 + bac87fa commit 75fa1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ declare namespace React {
748748
): void;
749749

750750
export type PropsWithChildren<P = unknown> = P & {
751-
children?: preact.ComponentChild | undefined;
751+
children?: preact.ComponentChildren | undefined;
752752
};
753753

754754
export const Children: {

0 commit comments

Comments
 (0)