Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(ct): vue slot type (#17071)

sand4rt80df84b49e5f
diff --git a/packages/playwright-ct-vue/index.d.ts b/packages/playwright-ct-vue/index.d.ts
index 684e7a1e89..dca274ef15 100644
--- a/packages/playwright-ct-vue/index.d.ts
+++ b/packages/playwright-ct-vue/index.d.ts
@@ -34,9 +34,11 @@ export type PlaywrightTestConfig = Omit<BasePlaywrightTestConfig, 'use'> & {
}
};
+type Slot = string | string[];
+
export interface MountOptions<Props = Record<string, unknown>> {
props?: Props,
- slots?: Record<string, unknown>,
+ slots?: Record<string, Slot> & { default?: Slot };
on?: Record<string, Function>,
hooksConfig?: any,
}