JS API Reference MessagePayload type

MessagePayload type

The payload of a MessageEvent

Signature

export declare type MessagePayload = number | number[] | undefined;