Closed linyuling520 closed 1 month ago
How does your dev setup look like? It's allowed to export a type and value (a component in this case) with the same name in TS.
Which TS version are you using @linyuling520 ?
I had the same problem in an old project with TypeScript 4.7.3. Upgrading to TypeScript 5.6.2 resolved it.
What platform were you using when you found the bug?
Live code example
No response
Describe the Bug
In my custom node, the Handle component is used, but it exports as a type.
`
`
Steps to reproduce the bug or issue
I checked the source code and found that the exported type and the Handle component were renamed, and that the later exported type overwrote the component.
Expected behavior
Expect to be able to export Handle components properly.
Screenshots or Videos
No response
Additional context
No response