Skip to content

Commit

Permalink
Fixed #4774 - OverlayPanel: wrongly typed slot prop
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 15, 2023
1 parent 1914bc5 commit b543a35
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions components/lib/overlaypanel/OverlayPanel.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,20 +182,6 @@ export interface OverlayPanelSlots {
* Custom close icon template.
*/
closeicon(): VNode[];
}

/**
* Defines valid emits in OverlayPanel component.
*/
export interface OverlayPanelEmits {
/**
* Callback to invoke when the overlay is shown.
*/
show(): void;
/**
* Callback to invoke when the overlay is hidden.
*/
hide(): void;
/**
* Custom container slot.
* @param {Object} scope - container slot's params.
Expand Down Expand Up @@ -224,6 +210,20 @@ export interface OverlayPanelEmits {
}): VNode[];
}

/**
* Defines valid emits in OverlayPanel component.
*/
export interface OverlayPanelEmits {
/**
* Callback to invoke when the overlay is shown.
*/
show(): void;
/**
* Callback to invoke when the overlay is hidden.
*/
hide(): void;
}

/**
* **PrimeVue - OverlayPanel**
*
Expand Down

0 comments on commit b543a35

Please sign in to comment.