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
I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
Passing in a Node type to findAndReplace causes tsc to complain. Yet, it appears from the call to visitParents that tree should really be Node, not Nodes.
Expected behavior
The compilation should succeed
Actual behavior
The compiler complains
Affected runtime and version
node@22.6.0, typescript@5.6.3
Affected package manager and version
No response
Affected OS and version
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered:
Initial checklist
Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
Passing in a
Node
type tofindAndReplace
causestsc
to complain. Yet, it appears from the call tovisitParents
thattree
should really beNode
, notNodes
.Expected behavior
The compilation should succeed
Actual behavior
The compiler complains
Affected runtime and version
node@22.6.0, typescript@5.6.3
Affected package manager and version
No response
Affected OS and version
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: