Bug Report for https://neetcode.io/problems/invert-a-binary-tree
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
when trying to solve in TS- getting the error: Cannot find name 'TreeNode'.(2304)
it happened also with MinPriorityQueue. the solutions used it but i couldnt because of the same error
Bug Report for https://neetcode.io/problems/invert-a-binary-tree
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
when trying to solve in TS- getting the error: Cannot find name 'TreeNode'.(2304)
it happened also with MinPriorityQueue. the solutions used it but i couldnt because of the same error