27 lines
697 B
TypeScript
27 lines
697 B
TypeScript
// Type declarations for Vite-style environment variables used via import.meta.env
|
|
// Placing this under `types/` so the compiler picks it up for all packages.
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_TOKEN_SERVER_URL?: string
|
|
readonly VITE_STUDIO_URL?: string
|
|
// add other VITE_ variables here as needed
|
|
[key: string]: string | undefined
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
interface ImportMetaEnv {
|
|
readonly VITE_TOKEN_SERVER_URL?: string
|
|
readonly VITE_LIVEKIT_URL?: string
|
|
readonly VITE_STUDIO_URL?: string
|
|
readonly VITE_BROADCAST_URL?: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|
|
declare module '*.module.css'
|
|
declare module '*.css'
|