18 lines
359 B
TypeScript
18 lines
359 B
TypeScript
import { ElectronAPI } from '@electron-toolkit/preload'
|
|
import type api from './api'
|
|
|
|
declare global {
|
|
interface Window {
|
|
electron: ElectronAPI
|
|
api: typeof api,
|
|
version: string,
|
|
platform: string,
|
|
appPath: string,
|
|
arch: string,
|
|
shell: Electron.Shell;
|
|
downloadsPath: string;
|
|
deviceName: string;
|
|
deviceId: string;
|
|
}
|
|
}
|