EventTarget: typeof globalThis extends {
    onmessage: any;
    EventTarget: infer T;
} ? T : {
    addEventListener(type: string, callback: null | EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
    dispatchEvent(event: Event): boolean;
    removeEventListener(type: string, callback: null | EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

Generated using TypeDoc v0.23.24