'init'
This commit is contained in:
17
lib/preload/index.d.ts
vendored
Normal file
17
lib/preload/index.d.ts
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user