The con class represents a "con" JSON CRDT node. As the generic type parameter, it takes the type of the raw value.

Example:

s.con(0);
s.con('');
s.con<number>(123);
s.con<0 | 1>(0);

Type Parameters

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

raw: T
type: "con" = 'con'