import { EventSource } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.webworker.d.ts";
type
{ prototype: EventSource; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; new (url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; }