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 e4add67 commit f73633eCopy full SHA for f73633e
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?: () => unknown extends Data ? never : Partial<Data>
+ data?: () => Data extends object ? Partial<Data> : never
39
props?: Props
40
attrs?: Record<string, unknown>
41
slots?: {
0 commit comments