From c11f594c2921f98c4e72e47f9e819d2a40787b5e Mon Sep 17 00:00:00 2001 From: sand4rt Date: Mon, 25 Jul 2022 22:45:32 +0200 Subject: [PATCH] fix(ct): optional hooksConfig mount option (#15921) --- packages/playwright-ct-svelte/index.d.ts | 4 ++-- packages/playwright-ct-vue2/index.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/playwright-ct-svelte/index.d.ts b/packages/playwright-ct-svelte/index.d.ts index 83ddbe129c..46289cb2ec 100644 --- a/packages/playwright-ct-svelte/index.d.ts +++ b/packages/playwright-ct-svelte/index.d.ts @@ -39,13 +39,13 @@ interface ComponentFixtures { props?: { [key: string]: any }, slots?: { [key: string]: any }, on?: { [key: string]: Function }, - hooksConfig: any, + hooksConfig?: any, }): Promise; mount(component: any, options: { props: Props, slots?: { [key: string]: any }, on?: { [key: string]: Function }, - hooksConfig: any, + hooksConfig?: any, }): Promise; } diff --git a/packages/playwright-ct-vue2/index.d.ts b/packages/playwright-ct-vue2/index.d.ts index 9e78cb0d99..f5f4d4906d 100644 --- a/packages/playwright-ct-vue2/index.d.ts +++ b/packages/playwright-ct-vue2/index.d.ts @@ -40,13 +40,13 @@ export interface ComponentFixtures { props?: { [key: string]: any }, slots?: { [key: string]: any }, on?: { [key: string]: Function }, - hooksConfig: any, + hooksConfig?: any, }): Promise; mount(component: any, options: { props: Props, slots?: { [key: string]: any }, on?: { [key: string]: Function }, - hooksConfig: any, + hooksConfig?: any, }): Promise; }