In the VS Code command palette, run the TypeScript: Select TypeScript version command. Make sure you have Use Workspace version selected.