Extract the return type of a Function
to extract from
[[Any]]
import {F} from 'ts-toolbelt' const fn = () => true type test0 = F.ReturnOf<typeof fn> // boolean type test1 = F.ReturnOf<() => true> // true
Extract the return type of a Function