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