Type alias MapperFn

MapperFn: (<T, S>(input: T, mapper: Mapping<T, S>) => S)

Type declaration

    • <T, S>(input: T, mapper: Mapping<T, S>): S
    • Applies all the rules specified in the Mapping to the source object, creating the destiny object accordingly

      Type Parameters

      • T extends object

        Input type

      • S extends object

        Output type

      Parameters

      Returns S

Generated using TypeDoc