mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(ct): vue slot type (#17071)
This commit is contained in:
parent
098fbf0e2c
commit
80df84b49e
4
packages/playwright-ct-vue/index.d.ts
vendored
4
packages/playwright-ct-vue/index.d.ts
vendored
@ -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,
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user