fix(runtime-core): fix slot fallback + slots typing

fix #773
This commit is contained in:
Evan You
2020-02-24 23:05:35 -05:00
parent 19a799c28b
commit 4a5b91bd1f
3 changed files with 7 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ import { isKeepAlive } from './components/KeepAlive'
export type Slot = (...args: any[]) => VNode[]
export type InternalSlots = {
[name: string]: Slot
[name: string]: Slot | undefined
}
export type Slots = Readonly<InternalSlots>