cherry-studio/src/preload/preload.d.ts
fullex dc06c103e0
chore[lint]: add import type lint (#11091)
chore: add import type lint
2025-11-01 10:40:02 +08:00

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
}
}