diff --git a/src/mount.ts b/src/mount.ts index fe73ddf9f..a93c85d33 100644 --- a/src/mount.ts +++ b/src/mount.ts @@ -29,13 +29,16 @@ import { stubComponents } from './stubs' type Slot = VNode | string | { render: Function } +type SlotDictionary = { + [key: string]: Slot +} + interface MountingOptions { data?: () => Record props?: Props attrs?: Record - slots?: { + slots?: SlotDictionary & { default?: Slot - [key: string]: Slot } global?: GlobalMountOptions attachTo?: HTMLElement | string