Return type inlay hints
Return type inlay hints show you the implicit return types of functions and methods in TypeScript and JavaScript. This can help you better understand what code is doing at a glance.
Enable them using the javascript.inlayHints.functionLikeReturnTypes.enabled
and typescript.inlayHints.functionLikeReturnTypes.enabled settings
.