We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 869c974 + ff8170c commit 418aff7Copy full SHA for 418aff7
src/mount.ts
@@ -31,13 +31,16 @@ import { parse } from '@vue/compiler-dom'
31
32
type Slot = VNode | string | { render: Function } | Function
33
34
+type SlotDictionary = {
35
+ [key: string]: Slot
36
+}
37
+
38
interface MountingOptions<Props> {
39
data?: () => Record<string, unknown>
40
props?: Props
41
attrs?: Record<string, unknown>
- slots?: {
42
+ slots?: SlotDictionary & {
43
default?: Slot
- [key: string]: Slot
44
}
45
global?: GlobalMountOptions
46
attachTo?: HTMLElement | string
0 commit comments