I faced this issue and was able to resolve it by updating my typescript version; I'm now currently using "typescript": "^5.6.3". Try that and see if it works. Good luck!
"typescript": "^5.6.3"