mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-13 12:14:47 +00:00
desktop: add electron version (#15663)
This commit is contained in:
12
packages/desktop-electron/src/renderer/env.d.ts
vendored
Normal file
12
packages/desktop-electron/src/renderer/env.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ElectronAPI } from "../preload/types"
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
api: ElectronAPI
|
||||
__OPENCODE__?: {
|
||||
updaterEnabled?: boolean
|
||||
wsl?: boolean
|
||||
deepLinks?: string[]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user