fix: optional window.electron
This commit is contained in:
Vendored
+1
-1
@@ -2,7 +2,7 @@ import { ElectronAPI } from "@electron-toolkit/preload"
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: ElectronAPI
|
||||
electron?: ElectronAPI
|
||||
api: unknown
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user