Variable MessageEvent

    MessageEvent: {
        prototype: MessageEvent;
        new <T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;
    }

    Type declaration