EntityTypeFromFieldOf: FieldOfT extends ConstructorOrField<infer EntityT>
    ? EntityT
    : never

Helper type to extract the entity from a field so EntityTypeFromFieldOf<EdmTypeField> is MyEntity.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

Type Parameters