Closed Revaycolizer closed 1 week ago
Thats typescript issue, you can fix it by adding a .d.ts file
Thats typescript issue, you can fix it by adding a .d.ts file
Thanks it worked I figured out there were two electron.d.ts that's why it was not working
I exposed openDirectory on Main and preload.ts but my frontend is complain that ts: Property 'openDirectory' does not exist on type '{ ipcRenderer: { send: (channel: string, ...args: any[]) => void; }; }'.
Preload.ts
Main.ts