Variable Type Inlay Hints

Variable type inlay hints show you the inferred type of variables directly inline for your JavaScript and TypeScript code.

You can enable them using javascript.inlayHints.variableTypes.enabled and typescript.inlayHints.variableTypes.enabled.