Fix declare class typing
parent
f8ad7f1799
commit
c59599cbfa
|
@ -85,7 +85,7 @@ export interface ButtonEmits {}
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {}
|
||||
declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -444,7 +444,7 @@ export interface CalendarEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> {}
|
||||
declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -279,7 +279,7 @@ export interface CascadeSelectEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class CascadeSelect extends ClassComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits> {}
|
||||
declare class CascadeSelect extends ClassComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -75,7 +75,7 @@ export interface ConfirmDialogEmits {}
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {}
|
||||
declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -48,7 +48,7 @@ export interface ConfirmPopupEmits {}
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {}
|
||||
declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -228,7 +228,7 @@ export interface DialogEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Dialog extends ClassComponent<DialogProps, DialogSlots, DialogEmits> {}
|
||||
declare class Dialog extends ClassComponent<DialogProps, DialogSlots, DialogEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -427,7 +427,7 @@ export interface DropdownEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, DropdownEmits> {
|
||||
declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, DropdownEmits> {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false.
|
||||
|
|
|
@ -35,7 +35,7 @@ export interface DynamicDialogSlots {}
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {}
|
||||
declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -242,7 +242,7 @@ export interface InputNumberEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class InputNumber extends ClassComponent<InputNumberProps, InputNumberSlots, InputNumberEmits> {
|
||||
declare class InputNumber extends ClassComponent<InputNumberProps, InputNumberSlots, InputNumberEmits> {
|
||||
/**
|
||||
* Returns Intl.NumberFormat object.
|
||||
*
|
||||
|
|
|
@ -47,7 +47,7 @@ export interface InputTextEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> {}
|
||||
declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -123,7 +123,7 @@ export interface KnobEmits {
|
|||
* ![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' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -102,7 +102,7 @@ export interface OverlayPanelEmits {
|
|||
*
|
||||
* @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.
|
||||
* @param {Event} event - Browser event.
|
||||
|
|
|
@ -165,7 +165,7 @@ export interface PasswordEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {}
|
||||
declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -141,7 +141,7 @@ export interface RatingEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> {}
|
||||
declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -130,7 +130,7 @@ export interface SelectButtonEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {}
|
||||
declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -105,7 +105,7 @@ export interface SidebarEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
|
||||
declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
interface GlobalComponents {
|
||||
|
|
|
@ -215,7 +215,7 @@ export interface TreeSelectEmits {
|
|||
*
|
||||
* @group Component
|
||||
*/
|
||||
export declare class TreeSelect extends ClassComponent<TreeSelectProps, TreeSelectSlots, TreeSelectEmits> {
|
||||
declare class TreeSelect extends ClassComponent<TreeSelectProps, TreeSelectSlots, TreeSelectEmits> {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue