mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 08:59:02 +08:00
12 lines
282 B
TypeScript
12 lines
282 B
TypeScript
import type { ElectronAPI } from '@electron-toolkit/preload'
|
|
|
|
import type { WindowApiType } from './index'
|
|
|
|
/** you don't need to declare this in your code, it's automatically generated */
|
|
declare global {
|
|
interface Window {
|
|
electron: ElectronAPI
|
|
api: WindowApiType
|
|
}
|
|
}
|