init
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
/// <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;
|
||||
}
|
||||
Reference in New Issue
Block a user