mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
13 lines
282 B
TypeScript
13 lines
282 B
TypeScript
declare module 'sse.js' {
|
|
export type SSEOptions = EventSourceInit & {
|
|
headers?: Record<string, string>
|
|
payload?: string
|
|
method?: string
|
|
}
|
|
|
|
export class SSE extends EventSource {
|
|
constructor(url: string | URL, sseOptions?: SSEOptions)
|
|
stream(): void
|
|
}
|
|
}
|