Wrong types of the content
slot in the fileupload
component
#7189
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The
FileUpload
component shows that themessages
in thecontent
slot isstring|undefined
type, but in fact it should bestring[]|null
type according to its source code.Pull Request Link
#7188
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-2avcjgqn?file=src%2FApp.vue
Environment
[email protected]
[email protected]
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
FileUpload
component of theprimevue
packagecontent
in it and use theslot props - messages
.messages
isstring|undefined
type, but in fact it should bestring[]|null
type.Expected behavior
The
messages
prop's type should bestring[] | null
.The text was updated successfully, but these errors were encountered: