mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
fix(cmdk): sse.js type definition in ui package
This commit is contained in:
1 parent
6a1658d1f9
commit
4d86993e15
1 file changed
+12
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user