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.
1 parent 26cde00 commit 9af9de2Copy full SHA for 9af9de2
src/mount.ts
@@ -52,7 +52,11 @@ type SlotDictionary = {
52
}
53
54
interface MountingOptions<Props, Data = {}> {
55
- data?: () => Data extends object ? Partial<Data> : never
+ data?: () => {} extends Data
56
+ ? never
57
+ : Data extends object
58
+ ? Partial<Data>
59
+ : never
60
props?: Props
61
attrs?: Record<string, unknown>
62
slots?: SlotDictionary & {
0 commit comments