Accordion: Incorrect typing of AccordionTab headericon active parameter #5610
Labels
Status: Pending Review
Issue or pull request is being reviewed by Core Team
Milestone
Describe the bug
In the component
Accordion.vue
, in headericon theactive
parameter returns a boolean value, but typed(AccordionTab.d.ts
) in interfaceAccordionTabSlots.headericon
as if it were returning a function. This causes a typing error.Reproducer
https://stackblitz.com/edit/primevue-create-vue-typescript-issue-template-i6vn59?file=src%2FApp.vue
PrimeVue version
4.0.0-beta.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: