Interface FieldTransformer<T>

Type Parameters

  • T

Hierarchy

  • FieldTransformer

Properties

Properties

read?: ((value) => null | T)

Type declaration

    • (value): null | T
    • Transformation to apply when a value is read from an adapter.

      Parameters

      • value: any

      Returns null | T

write?: ((value) => any)

Type declaration

    • (value): any
    • Transformation to apply when a value is written to an adapter.

      Parameters

      • value: null | T

      Returns any

Generated using TypeDoc