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

This commit is contained in:
sand4rt 2022-09-08 17:38:20 +02:00 committed by GitHub
parent 098fbf0e2c
commit 80df84b49e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
}