- Add a new
Union0<T>
interface, which only contains one possible type.
To understand usage cases, see Designing with Types. - Add
Union0.Factory
along withGenericUnions.nulletFactory()
to createUnion0
.
Union0<T>
interface, which only contains one possible type.Union0.Factory
along with GenericUnions.nulletFactory()
to create Union0
.