See the inferred type of variables directly inline in your #JavaScript and #ypeScript code with variable type inlay hints.
You can enable them using javascript.inlayHints.variableTypes.enabled and typescript.inlayHints.variableTypes.enabled settings.