Tree: Invalid typing of the default slot #4608
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Version 3.26 introduced typing for default slot like so and broke typing for the default slot (which was any, but worked)
Which is not correct, as default slot is exposing node slot, which was previousle handled by this fragment of TreeSlots:
The code should look like this:
Reproducer
PrimeVue version
3.26.0
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: