diff --git a/packages/runtime-core/src/h.ts b/packages/runtime-core/src/h.ts index c62638bced1..f22e4bb30d0 100644 --- a/packages/runtime-core/src/h.ts +++ b/packages/runtime-core/src/h.ts @@ -89,12 +89,12 @@ export function h( // text/comment export function h( type: typeof Text | typeof Comment, - children?: string + children?: string | number | boolean ): VNode export function h( type: typeof Text | typeof Comment, props?: null, - children?: string + children?: string | number | boolean ): VNode // fragment export function h(type: typeof Fragment, children?: VNodeArrayChildren): VNode