types: massive refactor
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Data } from '../component'
|
||||
import { Slot } from '../componentSlots'
|
||||
import {
|
||||
VNodeChildren,
|
||||
@@ -11,7 +12,7 @@ import { PatchFlags } from '@vue/shared'
|
||||
export function renderSlot(
|
||||
slots: Record<string, Slot>,
|
||||
name: string,
|
||||
props: any = {},
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user