Type alias ExtractMembers<T, U>

ExtractMembers<T, U>: Pick<T, ExtractKeys<T, U>>

Returns a new object type of all the keys of T whose values extend from U

Type Parameters

  • T
  • U