Extract the return type of a Function
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
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.
Extract the return type of a
Function