Type Alias ISerdeTransformer<TDeserializedValue, TSerializedValue>

ISerdeTransformer<TDeserializedValue, TSerializedValue>: {
    name: OneOrMore<string>;
    deserialize(serializedValue: TSerializedValue): TDeserializedValue;
    isApplicable(value: unknown): value is TDeserializedValue;
    serialize(deserializedValue: TDeserializedValue): TSerializedValue;
}

IMPORT_PATH: "@daiso-tech/core/serde/contracts"

Type Parameters

  • TDeserializedValue
  • TSerializedValue