interface MessagePortEventMap {
    message: MessageEvent<any>;
    messageerror: MessageEvent<any>;
}

Properties

message: MessageEvent<any>
messageerror: MessageEvent<any>