Typescript: Suggestion: Quick info for `return` keyword to get the function return type

Created on 30 Sep 2016  ·  1Comment  ·  Source: microsoft/TypeScript

Now to get a function return type the only way is to hover on function declaration or reference locations; however if the function body is quite long, it can be annoying to go back and forth. We could provide the function return type information if the user hovers on the return keyword.

Quick Info Experience Enhancement Suggestion

Most helpful comment

You could also show the @returns jsdoc. There's nowhere that this is displayed right now.

>All comments

You could also show the @returns jsdoc. There's nowhere that this is displayed right now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wmaurer picture wmaurer  ·  3Comments

Antony-Jones picture Antony-Jones  ·  3Comments

manekinekko picture manekinekko  ·  3Comments

blendsdk picture blendsdk  ·  3Comments

MartynasZilinskas picture MartynasZilinskas  ·  3Comments