cherry-pick(#15921): fix(ct): optional hooksConfig mount option
This commit is contained in:
parent
1b2cb1c7b2
commit
2964ed5982
4
packages/playwright-ct-svelte/index.d.ts
vendored
4
packages/playwright-ct-svelte/index.d.ts
vendored
|
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
|
|||
4
packages/playwright-ct-vue2/index.d.ts
vendored
4
packages/playwright-ct-vue2/index.d.ts
vendored
|
|
@ -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>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue