When I run vsce

vsce publish

I get the following error:

@types/vscode ^1.62.0 greater than engines.vscode ^1.48.0

Consider upgrade engines.vscode or use an older @types/vscode version

I have the following dependencies in my package.json:

"devDependencies": {
    "@types/vscode": "^1.62.0",
    "vsce": "^2.5.0"
}

How do I update engines.vscode?

Related: How do I update my vscode extension's engine requirement

According to publishing docs section on Visual Studio Code compatibility

When authoring an extension, you will need to describe what is the extension's compatibility to Visual Studio Code itself. This can be done via the engines.vscode field inside package.json:

{
  "engines": {
    "vscode": "^1.62.0"
  }
}