Type Alias SubUnion<U, T>

SubUnion<U, T>: T

🧰 type util Define a union type that is a subset of union type.

Type Parameters

  • U
  • T extends U