Fixed #1695 - Update all .d.ts files for events and slots

This commit is contained in:
Tuğçe Küçükoğlu 2021-10-25 10:06:40 +03:00
parent e8b012ff80
commit 56285f087c
33 changed files with 478 additions and 101 deletions

View file

@ -19,6 +19,15 @@ interface CascadeSelectProps {
loadingIcon?: string;
}
interface CascadeSelectOptionSlotInterface {
option: any;
}
interface CascadeSelectValueSlotInterface {
value: any;
placeholder: string;
}
declare class CascadeSelect {
$props: CascadeSelectProps;
$emit(eventName: 'update:modelValue', value: string): this;
@ -29,8 +38,8 @@ declare class CascadeSelect {
$emit(eventName: 'show'): this;
$emit(eventName: 'hide'): this;
$slot: {
option: VNode[];
value: VNode[];
option: CascadeSelectOptionSlotInterface;
value: CascadeSelectValueSlotInterface;
indicator: VNode[];
}
}