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

blendsdk picture blendsdk  路  3Comments

Antony-Jones picture Antony-Jones  路  3Comments

DanielRosenwasser picture DanielRosenwasser  路  3Comments

MartynasZilinskas picture MartynasZilinskas  路  3Comments

Zlatkovsky picture Zlatkovsky  路  3Comments