You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataView listTemplate has the return type ReactNode[] which raises and error in VSCode.
I'm pretty sure the return type should be ReactNode or maybe ReactNode | ReactNode[]
Reproducer
No response
System Information
primereact: 10.8.2
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered:
There is an example that works with no errors. Can you provide a stackblitz link that exact problem ?
melloware
added
Typescript
Issue or pull request is *only* related to TypeScript definition
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Sep 3, 2024
Describe the bug
DataView listTemplate has the return type
ReactNode[]
which raises and error in VSCode.I'm pretty sure the return type should be
ReactNode
or maybeReactNode | ReactNode[]
Reproducer
No response
System Information
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: