Type alias BinaryNode

BinaryNode: {
    attrs: {
        [key: string]: string;
    };
    content?: BinaryNode[] | string | Uint8Array;
    tag: string;
}

the binary node WA uses internally for communication

this is manipulated soley as an object and it does not have any functions. This is done for easy serialization, to prevent running into issues with prototypes & to maintain functional code structure

Type declaration

  • attrs: {
        [key: string]: string;
    }
    • [key: string]: string
  • Optional content?: BinaryNode[] | string | Uint8Array
  • tag: string

Generated using TypeDoc