I am converting Prosemirror code to TS. I have upgraded prosemirror-state, prosemirror-model, and prosemirror-view to the latest versions, but getting this issue.
Try clearing your package lock and reinstalling? That version range matches recent versions, so you should get one with its own type declarations, normally speaking.