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** *