Tree: Missing property dropNode
in type signature of TreeDragDropEvent
#4179
Labels
Type: Bug
Issue contains a defect related to a specific component.
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
The https://primereact.org/tree/#api.Tree.TreeDragDropEvent has a wrong type signature as I believe. The
dropNode
is missing from theTreeDragDropEvent
. However, inTree.js
that property is still returned in the event.As far as I have seen commit: 70bb1e5 introduced this error.
Reproducer
No response
PrimeReact version
9.2.1
React version
18.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: