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>> {
|
export interface MountOptions<Props = Record<string, unknown>> {
|
||||||
props?: Props,
|
props?: Props,
|
||||||
slots?: Record<string, unknown>,
|
slots?: Record<string, Slot> & { default?: Slot };
|
||||||
on?: Record<string, Function>,
|
on?: Record<string, Function>,
|
||||||
hooksConfig?: any,
|
hooksConfig?: any,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue