EntityType: forExtraction extends EntityApi<infer EntityT, any>
    ? EntityT
    : never

Helper type to extract the type of an entity from an API so EntityType<MyPetApi> is Dog.

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

Type Parameters

  • forExtraction