Fix declare class typing

pull/3689/head
Tuğçe Küçükoğlu 2023-03-01 17:48:23 +03:00
parent f8ad7f1799
commit c59599cbfa
17 changed files with 17 additions and 17 deletions

View File

@ -85,7 +85,7 @@ export interface ButtonEmits {}
* *
* @group Component * @group Component
*/ */
export declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {} declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -444,7 +444,7 @@ export interface CalendarEmits {
* *
* @group Component * @group Component
*/ */
export declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> {} declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -279,7 +279,7 @@ export interface CascadeSelectEmits {
* *
* @group Component * @group Component
*/ */
export declare class CascadeSelect extends ClassComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits> {} declare class CascadeSelect extends ClassComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -75,7 +75,7 @@ export interface ConfirmDialogEmits {}
* *
* @group Component * @group Component
*/ */
export declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {} declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -48,7 +48,7 @@ export interface ConfirmPopupEmits {}
* *
* @group Component * @group Component
*/ */
export declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {} declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -228,7 +228,7 @@ export interface DialogEmits {
* *
* @group Component * @group Component
*/ */
export declare class Dialog extends ClassComponent<DialogProps, DialogSlots, DialogEmits> {} declare class Dialog extends ClassComponent<DialogProps, DialogSlots, DialogEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -427,7 +427,7 @@ export interface DropdownEmits {
* *
* @group Component * @group Component
*/ */
export declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, DropdownEmits> { declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, DropdownEmits> {
/** /**
* Shows the overlay. * Shows the overlay.
* @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false. * @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false.

View File

@ -35,7 +35,7 @@ export interface DynamicDialogSlots {}
* *
* @group Component * @group Component
*/ */
export declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {} declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -242,7 +242,7 @@ export interface InputNumberEmits {
* *
* @group Component * @group Component
*/ */
export declare class InputNumber extends ClassComponent<InputNumberProps, InputNumberSlots, InputNumberEmits> { declare class InputNumber extends ClassComponent<InputNumberProps, InputNumberSlots, InputNumberEmits> {
/** /**
* Returns Intl.NumberFormat object. * Returns Intl.NumberFormat object.
* *

View File

@ -47,7 +47,7 @@ export interface InputTextEmits {
* *
* @group Component * @group Component
*/ */
export declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> {} declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -123,7 +123,7 @@ export interface KnobEmits {
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg) * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo.svg)
* *
*/ */
export declare class Knob extends ClassComponent<KnobProps, KnobSlots, KnobEmits> {} declare class Knob extends ClassComponent<KnobProps, KnobSlots, KnobEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -102,7 +102,7 @@ export interface OverlayPanelEmits {
* *
* @group Component * @group Component
*/ */
export declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits> { declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits> {
/** /**
* Toggles the visibility of the overlay. * Toggles the visibility of the overlay.
* @param {Event} event - Browser event. * @param {Event} event - Browser event.

View File

@ -165,7 +165,7 @@ export interface PasswordEmits {
* *
* @group Component * @group Component
*/ */
export declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {} declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -141,7 +141,7 @@ export interface RatingEmits {
* *
* @group Component * @group Component
*/ */
export declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> {} declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -130,7 +130,7 @@ export interface SelectButtonEmits {
* *
* @group Component * @group Component
*/ */
export declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {} declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -105,7 +105,7 @@ export interface SidebarEmits {
* *
* @group Component * @group Component
*/ */
export declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {} declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -215,7 +215,7 @@ export interface TreeSelectEmits {
* *
* @group Component * @group Component
*/ */
export declare class TreeSelect extends ClassComponent<TreeSelectProps, TreeSelectSlots, TreeSelectEmits> { declare class TreeSelect extends ClassComponent<TreeSelectProps, TreeSelectSlots, TreeSelectEmits> {
/** /**
* Shows the overlay. * Shows the overlay.
* *