Skip to content

Commit

Permalink
fix(ct): optional hooksConfig mount option (#15921)
Browse files Browse the repository at this point in the history
  • Loading branch information
sand4rt committed Jul 25, 2022
1 parent 9ce727c commit c11f594
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/playwright-ct-svelte/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ interface ComponentFixtures {
props?: { [key: string]: any },
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
mount<Props>(component: any, options: {
props: Props,
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/playwright-ct-vue2/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ export interface ComponentFixtures {
props?: { [key: string]: any },
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
mount<Props>(component: any, options: {
props: Props,
slots?: { [key: string]: any },
on?: { [key: string]: Function },
hooksConfig: any,
hooksConfig?: any,
}): Promise<Locator>;
}

Expand Down

0 comments on commit c11f594

Please sign in to comment.