Files
t3code/apps/web/src/vite-env.d.ts
T

19 lines
332 B
TypeScript

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