We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
For example:
type F = () => number | string type G = returnof F // number | string
If there is interest, I will write up a proposal.
Note that this is distinct from #6606, which gives a return type given parameter types.