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; }