Co-authored-by: justsomelegs <[email protected]> Co-authored-by: codex <[email protected]> Co-authored-by: Cursor Agent <[email protected]> Co-authored-by: cursor[bot] <206951365+cursor[bot]@users.noreply.github.com>
19 lines
330 B
TypeScript
19 lines
330 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
import type { DesktopBridge, LocalApi } from "@t3tools/contracts";
|
|
|
|
interface ImportMetaEnv {
|
|
readonly APP_VERSION: string;
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv;
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
nativeApi?: LocalApi;
|
|
desktopBridge?: DesktopBridge;
|
|
}
|
|
}
|