enhance type of electron in window

This commit is contained in:
geekgeekrun
2024-04-21 10:54:04 +08:00
parent 662e3b00cf
commit 4013be6120

View File

@@ -5,4 +5,6 @@ declare global {
electron: ElectronAPI
api: unknown
}
declare const electron: Window['electron']
declare const api: Window['api']
}