* fix: #5903

* renaming GlobalComponentConstructor https://github.com/primefaces/primevue/pull/6088#issuecomment-2374917228

* Delete package-lock.json

* Update how component types are defined
This commit is contained in:
崮生 2024-10-09 16:04:31 +08:00 committed by GitHub
parent 9d9ae356d0
commit 1500542e62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
168 changed files with 335 additions and 337 deletions

View file

@ -7,7 +7,7 @@
* @module fieldset
*
*/
import type { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '@primevue/core';
import type { DefineComponent, DesignToken, EmitFn, PassThrough } from '@primevue/core';
import type { ComponentHooks } from '@primevue/core/basecomponent';
import type { PassThroughOptions } from 'primevue/passthrough';
import { AnchorHTMLAttributes, TransitionProps, VNode } from 'vue';
@ -250,7 +250,7 @@ declare const Fieldset: DefineComponent<FieldsetProps, FieldsetSlots, FieldsetEm
declare module 'vue' {
export interface GlobalComponents {
Fieldset: GlobalComponentConstructor<FieldsetProps, FieldsetSlots, FieldsetEmits>;
Fieldset: DefineComponent<FieldsetProps, FieldsetSlots, FieldsetEmits>;
}
}