Skip to content

Commit

Permalink
cherry-pick(#15921): fix(ct): optional hooksConfig mount option
Browse files Browse the repository at this point in the history
  • Loading branch information
sand4rt authored and pavelfeldman committed Jul 25, 2022
1 parent 1b2cb1c commit 2964ed5
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 2964ed5

Please sign in to comment.