Type Alias ReturnType<T>

ReturnType<T>: T extends ((...args: any) => infer R)
    ? R
    : any

return type of function

Type Parameters

  • T