From b543a35a2e88b869fe71445956ade3b0840a6b6a Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 15 Nov 2023 20:00:50 +0300 Subject: [PATCH] Fixed #4774 - OverlayPanel: wrongly typed slot prop --- components/lib/overlaypanel/OverlayPanel.d.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/components/lib/overlaypanel/OverlayPanel.d.ts b/components/lib/overlaypanel/OverlayPanel.d.ts index 2ef38e60e..d74f7ae2d 100755 --- a/components/lib/overlaypanel/OverlayPanel.d.ts +++ b/components/lib/overlaypanel/OverlayPanel.d.ts @@ -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. @@ -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** *