Interface Mapped<TResultKey>

Grants access to mapped values.

Passed as a second argument to mapping function.

Type Param

A type of mapped properties. This is a mapping result type.

Type Parameters

  • TResultKey

Hierarchy

  • Mapped

Properties

Methods

Properties

Original properties to convert.

Methods

  • Maps the property with the given type accordingly to mapping instruction.

    The mapping is performed at most once per property.

    Type Parameters

    • TKey extends string | number | symbol

    Parameters

    • key: TKey

      Mapped property key.

    Returns TResultKey[TKey]

    Mapped property value.

Generated using TypeDoc