Type Alias ReturnType<T>

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

return type of function

Type Parameters

  • T