Type Alias ISerializer<TSerializedValue>

ISerializer<TSerializedValue>: {
    serialize<TValue>(value: TValue): TSerializedValue;
}

The ISerializer contract defines a standard way to serialize plain data, excluding support for custom classes.

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

Type Parameters

  • TSerializedValue = unknown

Type declaration