The str class represents a "str" JSON CRDT node. As the generic type parameter, it takes the type of the raw value.
str
Example:
s.str('');s.str('hello');s.str<string>('world');s.str<'' | 'hello' | 'world'>('hello'); Copy
s.str('');s.str('hello');s.str<string>('world');s.str<'' | 'hello' | 'world'>('hello');
Readonly
The
str
class represents a "str" JSON CRDT node. As the generic type parameter, it takes the type of the raw value.Example: