Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

vite-env.d.ts

18 lines332 Bytes

1/// <reference types="vite/client" />
2​
3import type { NativeApi, DesktopBridge } from "@t3tools/contracts";
4​
5interface ImportMetaEnv {
6 readonly APP_VERSION: string;
7}
8​
9interface ImportMeta {
10 readonly env: ImportMetaEnv;
12​
13declare global {
14 interface Window {
15 nativeApi?: NativeApi;
16 desktopBridge?: DesktopBridge;
17 }