TinyBase logoTinyBase β

AnyObject

The AnyObject type is a simple alias for a plain object with string keys and unknown values.

{[key: string]: unknown}

It is used to indicate that the value should be considered to be a plain JavaScript object, as can be stored in a Cell or Value with the object schema type.

The object's values should recursively be strings, finite numbers, booleans, null, plain objects, or arrays. The permissive unknown type does not imply that other JavaScript values will survive TinyBase's JSON serialization.

Since

v8.0.0