mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #1695 - Update all .d.ts files for events and slots
This commit is contained in:
parent
e8b012ff80
commit
56285f087c
33 changed files with 478 additions and 101 deletions
13
src/components/cascadeselect/CascadeSelect.d.ts
vendored
13
src/components/cascadeselect/CascadeSelect.d.ts
vendored
|
@ -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[];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue