diff --git a/src/core/HNode.ts b/src/core/HNode.ts index 1e30cc2..497821f 100644 --- a/src/core/HNode.ts +++ b/src/core/HNode.ts @@ -21,7 +21,7 @@ export type HProps
= { ) ) ) : ( - P[K] | undefined + P[K] ); } & ('children' extends keyof P ? {} : { children: unknown[];