diff --git a/packages/playwright-ct-svelte/index.d.ts b/packages/playwright-ct-svelte/index.d.ts index 868251730a..69255d0b7f 100644 --- a/packages/playwright-ct-svelte/index.d.ts +++ b/packages/playwright-ct-svelte/index.d.ts @@ -34,11 +34,13 @@ export type PlaywrightTestConfig = Omit & { } }; +type Slot = string | string[]; + export interface MountOptions> { - props?: Props, - slots?: Record, - on?: Record, - hooksConfig?: any, + props?: Props; + slots?: Record & { default?: Slot }; + on?: Record; + hooksConfig?: any; } interface MountResult extends Locator {