Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 181affb

Browse files
fix: extended window type
1 parent a966119 commit 181affb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer/preload.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Channels } from 'main/preload';
33
declare global {
44
interface Window {
55
electron: {
6+
isMac: boolean;
67
ipcRenderer: {
78
sendMessage(channel: Channels, args: unknown[]): void;
89
on(

0 commit comments

Comments
 (0)