Interface ModelSerializerConfig<T>

interface ModelSerializerConfig<T> {
    deserialize?: ((obj) => T);
    serialize?: ((obj) => any);
}

Type Parameters

  • T = any

Properties

deserialize?: ((obj) => T)

Type declaration

    • (obj): T
    • Parameters

      • obj: any

      Returns T

serialize?: ((obj) => any)

Type declaration

    • (obj): any
    • Parameters

      • obj: T

      Returns any