From c59599cbfa1edf50a98fae4ab81436bd23efe762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 1 Mar 2023 17:48:23 +0300 Subject: [PATCH] Fix declare class typing --- components/button/Button.d.ts | 2 +- components/calendar/Calendar.d.ts | 2 +- components/cascadeselect/CascadeSelect.d.ts | 2 +- components/confirmdialog/ConfirmDialog.d.ts | 2 +- components/confirmpopup/ConfirmPopup.d.ts | 2 +- components/dialog/Dialog.d.ts | 2 +- components/dropdown/Dropdown.d.ts | 2 +- components/dynamicdialog/DynamicDialog.d.ts | 2 +- components/inputnumber/InputNumber.d.ts | 2 +- components/inputtext/InputText.d.ts | 2 +- components/knob/Knob.d.ts | 2 +- components/overlaypanel/OverlayPanel.d.ts | 2 +- components/password/Password.d.ts | 2 +- components/rating/Rating.d.ts | 2 +- components/selectbutton/SelectButton.d.ts | 2 +- components/sidebar/Sidebar.d.ts | 2 +- components/treeselect/TreeSelect.d.ts | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/components/button/Button.d.ts b/components/button/Button.d.ts index 2acfc71b1..ccf3a01ea 100755 --- a/components/button/Button.d.ts +++ b/components/button/Button.d.ts @@ -85,7 +85,7 @@ export interface ButtonEmits {} * * @group Component */ -export declare class Button extends ClassComponent {} +declare class Button extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/calendar/Calendar.d.ts b/components/calendar/Calendar.d.ts index 3813b84c3..ce0d528b6 100755 --- a/components/calendar/Calendar.d.ts +++ b/components/calendar/Calendar.d.ts @@ -444,7 +444,7 @@ export interface CalendarEmits { * * @group Component */ -export declare class Calendar extends ClassComponent {} +declare class Calendar extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/cascadeselect/CascadeSelect.d.ts b/components/cascadeselect/CascadeSelect.d.ts index 8106a8f61..8231715f6 100644 --- a/components/cascadeselect/CascadeSelect.d.ts +++ b/components/cascadeselect/CascadeSelect.d.ts @@ -279,7 +279,7 @@ export interface CascadeSelectEmits { * * @group Component */ -export declare class CascadeSelect extends ClassComponent {} +declare class CascadeSelect extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/confirmdialog/ConfirmDialog.d.ts b/components/confirmdialog/ConfirmDialog.d.ts index b044c0441..bce238c4b 100644 --- a/components/confirmdialog/ConfirmDialog.d.ts +++ b/components/confirmdialog/ConfirmDialog.d.ts @@ -75,7 +75,7 @@ export interface ConfirmDialogEmits {} * * @group Component */ -export declare class ConfirmDialog extends ClassComponent {} +declare class ConfirmDialog extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/confirmpopup/ConfirmPopup.d.ts b/components/confirmpopup/ConfirmPopup.d.ts index 1cab89cc3..6440faf68 100644 --- a/components/confirmpopup/ConfirmPopup.d.ts +++ b/components/confirmpopup/ConfirmPopup.d.ts @@ -48,7 +48,7 @@ export interface ConfirmPopupEmits {} * * @group Component */ -export declare class ConfirmPopup extends ClassComponent {} +declare class ConfirmPopup extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/dialog/Dialog.d.ts b/components/dialog/Dialog.d.ts index 2ddee15ad..bc24c3541 100755 --- a/components/dialog/Dialog.d.ts +++ b/components/dialog/Dialog.d.ts @@ -228,7 +228,7 @@ export interface DialogEmits { * * @group Component */ -export declare class Dialog extends ClassComponent {} +declare class Dialog extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/dropdown/Dropdown.d.ts b/components/dropdown/Dropdown.d.ts index a3f31fd39..cf195cd39 100755 --- a/components/dropdown/Dropdown.d.ts +++ b/components/dropdown/Dropdown.d.ts @@ -427,7 +427,7 @@ export interface DropdownEmits { * * @group Component */ -export declare class Dropdown extends ClassComponent { +declare class Dropdown extends ClassComponent { /** * Shows the overlay. * @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false. diff --git a/components/dynamicdialog/DynamicDialog.d.ts b/components/dynamicdialog/DynamicDialog.d.ts index 953205ac3..3d2fb0e67 100644 --- a/components/dynamicdialog/DynamicDialog.d.ts +++ b/components/dynamicdialog/DynamicDialog.d.ts @@ -35,7 +35,7 @@ export interface DynamicDialogSlots {} * * @group Component */ -export declare class DynamicDialog extends ClassComponent {} +declare class DynamicDialog extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/inputnumber/InputNumber.d.ts b/components/inputnumber/InputNumber.d.ts index 86b9867ef..ebfdd4b33 100755 --- a/components/inputnumber/InputNumber.d.ts +++ b/components/inputnumber/InputNumber.d.ts @@ -242,7 +242,7 @@ export interface InputNumberEmits { * * @group Component */ -export declare class InputNumber extends ClassComponent { +declare class InputNumber extends ClassComponent { /** * Returns Intl.NumberFormat object. * diff --git a/components/inputtext/InputText.d.ts b/components/inputtext/InputText.d.ts index 0cb32e1ef..9dba4ca93 100755 --- a/components/inputtext/InputText.d.ts +++ b/components/inputtext/InputText.d.ts @@ -47,7 +47,7 @@ export interface InputTextEmits { * * @group Component */ -export declare class InputText extends ClassComponent {} +declare class InputText extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/knob/Knob.d.ts b/components/knob/Knob.d.ts index 464701252..d6f08c4fd 100644 --- a/components/knob/Knob.d.ts +++ b/components/knob/Knob.d.ts @@ -123,7 +123,7 @@ export interface KnobEmits { * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg) * */ -export declare class Knob extends ClassComponent {} +declare class Knob extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/overlaypanel/OverlayPanel.d.ts b/components/overlaypanel/OverlayPanel.d.ts index b876964c0..bdf5ef3ae 100755 --- a/components/overlaypanel/OverlayPanel.d.ts +++ b/components/overlaypanel/OverlayPanel.d.ts @@ -102,7 +102,7 @@ export interface OverlayPanelEmits { * * @group Component */ -export declare class OverlayPanel extends ClassComponent { +declare class OverlayPanel extends ClassComponent { /** * Toggles the visibility of the overlay. * @param {Event} event - Browser event. diff --git a/components/password/Password.d.ts b/components/password/Password.d.ts index 8b281bd88..1f2762407 100755 --- a/components/password/Password.d.ts +++ b/components/password/Password.d.ts @@ -165,7 +165,7 @@ export interface PasswordEmits { * * @group Component */ -export declare class Password extends ClassComponent {} +declare class Password extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/rating/Rating.d.ts b/components/rating/Rating.d.ts index 6f271b068..d89ee1f14 100755 --- a/components/rating/Rating.d.ts +++ b/components/rating/Rating.d.ts @@ -141,7 +141,7 @@ export interface RatingEmits { * * @group Component */ -export declare class Rating extends ClassComponent {} +declare class Rating extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/selectbutton/SelectButton.d.ts b/components/selectbutton/SelectButton.d.ts index 81fa3a0ef..e8b9ff91c 100755 --- a/components/selectbutton/SelectButton.d.ts +++ b/components/selectbutton/SelectButton.d.ts @@ -130,7 +130,7 @@ export interface SelectButtonEmits { * * @group Component */ -export declare class SelectButton extends ClassComponent {} +declare class SelectButton extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/sidebar/Sidebar.d.ts b/components/sidebar/Sidebar.d.ts index 5a42a365d..0213783d7 100755 --- a/components/sidebar/Sidebar.d.ts +++ b/components/sidebar/Sidebar.d.ts @@ -105,7 +105,7 @@ export interface SidebarEmits { * * @group Component */ -export declare class Sidebar extends ClassComponent {} +declare class Sidebar extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/treeselect/TreeSelect.d.ts b/components/treeselect/TreeSelect.d.ts index 9fe1da724..f6da2f693 100644 --- a/components/treeselect/TreeSelect.d.ts +++ b/components/treeselect/TreeSelect.d.ts @@ -215,7 +215,7 @@ export interface TreeSelectEmits { * * @group Component */ -export declare class TreeSelect extends ClassComponent { +declare class TreeSelect extends ClassComponent { /** * Shows the overlay. *