21 lines · 436 B · TypeScript
RawDownload
/// <reference types="vite/client" /> import type { DesktopBridge, LocalApi } from "@t3tools/contracts"; interface ImportMetaEnv {  readonly VITE_HTTP_URL: string;  readonly VITE_WS_URL: string;  readonly VITE_HOSTED_APP_URL: string;  readonly APP_VERSION: string;} interface ImportMeta {  readonly env: ImportMetaEnv;} declare global {  interface Window {    nativeApi?: LocalApi;    desktopBridge?: DesktopBridge;  }}