File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Note that when mocking dates/timers with Vitest, this must be called after
1414
1515``` ts
1616interface MountingOptions <Props , Data = {}> {
17- attachTo? : HTMLElement | string
17+ attachTo? : Element | string
1818 attrs? : Record <string , unknown >
1919 data? : () => {} extends Data ? any : Data extends object ? Partial <Data > : any
2020 props? : (RawProps & Props ) | ({} extends Props ? null : never )
@@ -74,7 +74,7 @@ Specify the node to mount the component on. This is not available when using `re
7474** Signature :**
7575
7676` ` ` ts
77- attachTo?: HTMLElement | string
77+ attachTo?: Element | string
7878` ` `
7979
8080** Details :**
@@ -1882,7 +1882,7 @@ Creates a Wrapper that contains the mounted and rendered Vue component to test w
18821882
18831883` ` ` ts
18841884interface MountingOptions <Props , Data = {}> {
1885- attachTo? : HTMLElement | string
1885+ attachTo? : Element | string
18861886 attrs? : Record <string , unknown >
18871887 data? : () => {} extends Data ? any : Data extends object ? Partial <Data > : any
18881888 props? : (RawProps & Props ) | ({} extends Props ? null : never )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Crée un `Wrapper` qui contient le composant Vue monté et rendu pour le test.
1212
1313``` ts
1414interface MountingOptions <Props , Data = {}> {
15- attachTo? : HTMLElement | string
15+ attachTo? : Element | string
1616 attrs? : Record <string , unknown >
1717 data? : () => {} extends Data ? any : Data extends object ? Partial <Data > : any
1818 props? : (RawProps & Props ) | ({} extends Props ? null : never )
@@ -72,7 +72,7 @@ Spécifie le nœud où monter le composant.
7272** Signature & nbsp ;:**
7373
7474` ` ` ts
75- attachTo?: HTMLElement | string
75+ attachTo?: Element | string
7676` ` `
7777
7878** Utilisation & nbsp ;:**
@@ -1870,7 +1870,7 @@ Crée un `Wrapper` qui contient le composant Vue monté et rendu pour le tester
18701870
18711871` ` ` ts
18721872interface MountingOptions<Props, Data = {}> {
1873- attachTo?: HTMLElement | string
1873+ attachTo?: Element | string
18741874 attrs?: Record<string, unknown>
18751875 data?: () => {} extends Data ? any : Data extends object ? Partial<Data> : any
18761876 props?: (RawProps & Props) | ({} extends Props ? null : never)
You can’t perform that action at this time.
0 commit comments