mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 21:42:27 +08:00
13 lines
211 B
TypeScript
13 lines
211 B
TypeScript
import { ElectronAPI } from '@electron-toolkit/preload'
|
|
|
|
declare global {
|
|
interface Window {
|
|
electron: ElectronAPI
|
|
api: {
|
|
getAppInfo: () => Promise<{
|
|
version: string
|
|
}>
|
|
}
|
|
}
|
|
}
|