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 ae79211 commit b4409b6Copy full SHA for b4409b6
src/mount.ts
@@ -66,17 +66,7 @@ export type ObjectEmitsOptions = Record<
66
((...args: any[]) => any) | null
67
>
68
export type EmitsOptions = ObjectEmitsOptions | string[]
69
-
70
-// Functional component
71
-// export function mount<
72
-// TestedComponent extends FunctionalComponent<Props, E>,
73
-// Props,
74
-// E extends EmitsOptions = {}
75
-// >(
76
-// originalComponent: TestedComponent,
77
-// options?: MountingOptions<Props>
78
-// ): VueWrapper<ComponentPublicInstance<Props>>
79
+
80
// Functional component with emits
81
export function mount<Props, E extends EmitsOptions = {}>(
82
originalComponent: FunctionalComponent<Props, E>,
0 commit comments