Type Alias ISerializer<TSerialized>

ISerializer<TSerialized>: {
    deserialize<TValue>(value: TSerialized): Promise<TValue>;
    serialize<TValue>(value: TValue): Promise<TSerialized>;
}

Type Parameters

  • TSerialized = unknown

Type declaration