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 319aa34 commit e4add67Copy full SHA for e4add67
src/mount.ts
@@ -35,7 +35,7 @@ import { stubComponents } from './stubs'
35
type Slot = VNode | string | { render: Function }
36
37
interface MountingOptions<Props, Data = {}> {
38
- data?: () => Data extends unknown ? never : Data
+ data?: () => unknown extends Data ? never : Partial<Data>
39
props?: Props
40
attrs?: Record<string, unknown>
41
slots?: {
0 commit comments