Share via


EEMethodReturnType type

type EEMethodReturnType<T, S, TValue, FValue> = S extends keyof T
  ? InnerEEMethodReturnType<T[S], TValue, FValue>
  : FValue