Files
mc-computer-craft-api-frontend/src/env.d.ts
T
2026-05-26 12:27:23 +02:00

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;
}