Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
variable EventSource
import { EventSource } from "https://deno.land/x/domtype@v1.0.4/domtype.d.ts";

type

{ prototype: EventSource; readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; new (url: string, eventSourceInitDict?: EventSourceInit): EventSource; }