If you are running into this issue in vscode...
Open the cmd palette (cmd+Shift+P on mac)
type TypeScript: Select TypeScript Version
Ensure the version of Typescript selected is the same as in your package.json
Hope this will save someone some time!