mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-05 08:57:49 +03:00
fix(ct): svelte slot type (#17074)
This commit is contained in:
parent
69b5104967
commit
3f941865a0
10
packages/playwright-ct-svelte/index.d.ts
vendored
10
packages/playwright-ct-svelte/index.d.ts
vendored
@ -34,11 +34,13 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
|
||||
}
|
||||
};
|
||||
|
||||
type Slot = string | string[];
|
||||
|
||||
export interface MountOptions<Props = Record<string, unknown>> {
|
||||
props?: Props,
|
||||
slots?: Record<string, unknown>,
|
||||
on?: Record<string, Function>,
|
||||
hooksConfig?: any,
|
||||
props?: Props;
|
||||
slots?: Record<string, Slot> & { default?: Slot };
|
||||
on?: Record<string, Function>;
|
||||
hooksConfig?: any;
|
||||
}
|
||||
|
||||
interface MountResult extends Locator {
|
||||
|
Loading…
Reference in New Issue
Block a user