Interface Transformer<Input, Output>

A transformer transofrms data from one type to another. It should not perform any logic on the data. It can be used to set default values, change names and object types, but should not perform any calculations.

Type Parameters

  • Input

    The type of the input data.

  • Output

    The type of the output data.

Hierarchy

  • Transformer

Methods

Methods

  • Transforms the input data into the output data.

    Parameters

    • input: Input

      The input data.

    Returns Output

    The output data.

Generated using TypeDoc