Type Alias ISerializable<TSerializedValue>

ISerializable: { serialize(): TSerializedValue }

Instance contract for types supporting serialization to a versioned format. Classes implementing this contract can convert their state to a serialized representation.

Type Parameters

  • TSerializedValue extends SerializedValueBase

    The serialized representation type (must extend SerializedValueBase with version)

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

Type declaration