mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
15 lines
464 B
TypeScript
15 lines
464 B
TypeScript
/// <reference types="vite/client" />
|
|
/// <reference types="vite-plugin-svgr/client" />
|
|
|
|
import type Client from "@/api/client.ts"
|
|
import type { RoomStateStore } from "@/api/statestore"
|
|
import type { MainScreenContextFields } from "@/ui/MainScreenContext.ts"
|
|
|
|
declare global {
|
|
interface Window {
|
|
client: Client
|
|
activeRoom?: RoomStateStore | null
|
|
mainScreenContext: MainScreenContextFields
|
|
openLightbox: (params: { src: string, alt: string }) => void
|
|
}
|
|
}
|