19 lines
531 B
TypeScript
19 lines
531 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface ImportMetaEnv {
|
|
/** Base URL of the backend HTTP API, e.g. https://localhost:3000 */
|
|
readonly VITE_API_BASE?: string;
|
|
/** Base URL of the backend websocket, e.g. wss://localhost:3000 */
|
|
readonly VITE_WS_BASE?: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue';
|
|
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, unknown>;
|
|
export default component;
|
|
}
|