Type alias DeserializedType<DeSerializersT, EdmT>

DeserializedType<DeSerializersT, EdmT>: EdmT extends keyof DeSerializersT
    ? DeSerializersT[EdmT] extends DeSerializer<infer DeserializedT>
        ? DeserializedT
        : any
    : any

Infers the deserialized type for an EDM type from the given (de-)serializers type.

Type Parameters

  • DeSerializersT extends DeSerializers

    Type of the (de-)serializers.

  • EdmT

    Return type of the deserialize function for the given EDM type.

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