For example: ```ts 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 https://github.com/Microsoft/TypeScript/issues/6606, which gives a return type *given parameter types*.
For example:
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.