diff --git a/packages/playwright-ct-svelte/index.d.ts b/packages/playwright-ct-svelte/index.d.ts index 0bec91cbc4..fe227236b2 100644 --- a/packages/playwright-ct-svelte/index.d.ts +++ b/packages/playwright-ct-svelte/index.d.ts @@ -35,8 +35,8 @@ export type PlaywrightTestConfig = Omit & { }; interface ComponentFixtures { - mount(component: any, options?: { - props?: { [key: string]: any }, + mount(component: any, options?: { + props?: Props, slots?: { [key: string]: any }, on?: { [key: string]: Function }, }): Promise; diff --git a/packages/playwright-ct-vue/index.d.ts b/packages/playwright-ct-vue/index.d.ts index ab27df0153..4a56ae3fea 100644 --- a/packages/playwright-ct-vue/index.d.ts +++ b/packages/playwright-ct-vue/index.d.ts @@ -36,8 +36,8 @@ export type PlaywrightTestConfig = Omit & { interface ComponentFixtures { mount(component: JSX.Element): Promise; - mount(component: any, options?: { - props?: { [key: string]: any }, + mount(component: any, options?: { + props?: Props, slots?: { [key: string]: any }, on?: { [key: string]: Function }, }): Promise; diff --git a/packages/playwright-ct-vue2/index.d.ts b/packages/playwright-ct-vue2/index.d.ts index ab27df0153..4a56ae3fea 100644 --- a/packages/playwright-ct-vue2/index.d.ts +++ b/packages/playwright-ct-vue2/index.d.ts @@ -36,8 +36,8 @@ export type PlaywrightTestConfig = Omit & { interface ComponentFixtures { mount(component: JSX.Element): Promise; - mount(component: any, options?: { - props?: { [key: string]: any }, + mount(component: any, options?: { + props?: Props, slots?: { [key: string]: any }, on?: { [key: string]: Function }, }): Promise;