wip(ssr): renderer support for optimized and manual slots
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
VNode,
|
||||
VNodeProps,
|
||||
createVNode,
|
||||
VNodeChildren,
|
||||
VNodeArrayChildren,
|
||||
Fragment,
|
||||
Portal,
|
||||
isVNode
|
||||
@@ -62,7 +62,7 @@ type RawChildren =
|
||||
| number
|
||||
| boolean
|
||||
| VNode
|
||||
| VNodeChildren
|
||||
| VNodeArrayChildren
|
||||
| (() => any)
|
||||
|
||||
// fake constructor type returned from `defineComponent`
|
||||
@@ -85,11 +85,11 @@ export function h(
|
||||
): VNode
|
||||
|
||||
// fragment
|
||||
export function h(type: typeof Fragment, children?: VNodeChildren): VNode
|
||||
export function h(type: typeof Fragment, children?: VNodeArrayChildren): VNode
|
||||
export function h(
|
||||
type: typeof Fragment,
|
||||
props?: RawProps | null,
|
||||
children?: VNodeChildren
|
||||
children?: VNodeArrayChildren
|
||||
): VNode
|
||||
|
||||
// portal (target prop is required)
|
||||
|
||||
Reference in New Issue
Block a user