wip(ssr): renderer support for optimized and manual slots
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Data } from '../component'
|
||||
import { Slot } from '../componentSlots'
|
||||
import {
|
||||
VNodeChildren,
|
||||
VNodeArrayChildren,
|
||||
openBlock,
|
||||
createBlock,
|
||||
Fragment,
|
||||
@@ -15,7 +15,7 @@ export function renderSlot(
|
||||
props: Data = {},
|
||||
// this is not a user-facing function, so the fallback is always generated by
|
||||
// the compiler and guaranteed to be an array
|
||||
fallback?: VNodeChildren
|
||||
fallback?: VNodeArrayChildren
|
||||
): VNode {
|
||||
const slot = slots[name]
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user