diff --git a/docs/api/index.md b/docs/api/index.md index b8a5bd61b..713331362 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -14,7 +14,7 @@ Note that when mocking dates/timers with Vitest, this must be called after ```ts interface MountingOptions { - attachTo?: HTMLElement | string + attachTo?: Element | string attrs?: Record data?: () => {} extends Data ? any : Data extends object ? Partial : any 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 **Signature:** ```ts -attachTo?: HTMLElement | string +attachTo?: Element | string ``` **Details:** @@ -1882,7 +1882,7 @@ Creates a Wrapper that contains the mounted and rendered Vue component to test w ```ts interface MountingOptions { - attachTo?: HTMLElement | string + attachTo?: Element | string attrs?: Record data?: () => {} extends Data ? any : Data extends object ? Partial : any props?: (RawProps & Props) | ({} extends Props ? null : never) diff --git a/docs/fr/api/index.md b/docs/fr/api/index.md index eafb8e41e..dfb24dfbd 100644 --- a/docs/fr/api/index.md +++ b/docs/fr/api/index.md @@ -12,7 +12,7 @@ Crée un `Wrapper` qui contient le composant Vue monté et rendu pour le test. ```ts interface MountingOptions { - attachTo?: HTMLElement | string + attachTo?: Element | string attrs?: Record data?: () => {} extends Data ? any : Data extends object ? Partial : any props?: (RawProps & Props) | ({} extends Props ? null : never) @@ -72,7 +72,7 @@ Spécifie le nœud où monter le composant. **Signature :** ```ts -attachTo?: HTMLElement | string +attachTo?: Element | string ``` **Utilisation :** @@ -1870,7 +1870,7 @@ Crée un `Wrapper` qui contient le composant Vue monté et rendu pour le tester ```ts interface MountingOptions { - attachTo?: HTMLElement | string + attachTo?: Element | string attrs?: Record data?: () => {} extends Data ? any : Data extends object ? Partial : any props?: (RawProps & Props) | ({} extends Props ? null : never)