fix(ct): svelte export MountResult (#29385)

related to https://github.com/microsoft/playwright/pull/29375
This commit is contained in:
Sander 2024-02-13 12:18:43 +01:00 committed by GitHub
parent 30557ed28c
commit e14ded7af3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ export interface MountOptions<HooksConfig extends JsonObject, Component extends
hooksConfig?: HooksConfig; hooksConfig?: HooksConfig;
} }
interface MountResult<Component extends SvelteComponent> extends Locator { export interface MountResult<Component extends SvelteComponent> extends Locator {
unmount(): Promise<void>; unmount(): Promise<void>;
update(options: { update(options: {
props?: Partial<ComponentProps<Component>>; props?: Partial<ComponentProps<Component>>;