@ably/chat
Version:
Ably Chat is a set of purpose-built APIs for a host of chat features enabling you to create 1:1, 1:Many, Many:1 and Many:Many chat rooms for any scale. It is designed to meet a wide range of chat use cases, such as livestreams, in-game communication, cust
17 lines (14 loc) • 397 B
text/typescript
/**
* Represents any valid JSON value including primitives, objects, and arrays.
*/
export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
/**
* Represents a JSON object with string keys and JSON values.
*/
export interface JsonObject {
[key: string]: JsonValue;
}
/**
* Represents a JSON array containing JSON values.
*/
export type JsonArray = JsonValue[];