fix(core): ElectronApplication.evaluate arg wrong type

The first argument to the function passed to `evaluate` should be `Electron.RemoteMainInterface`, not `typeof Electron.CrossProcessExports`

Signed-off-by: James Tindal <10291002+james-tindal@users.noreply.github.com>
This commit is contained in:
James Tindal 2024-03-12 15:11:47 +00:00 committed by GitHub
parent be325507cb
commit 47220bf1e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13855,7 +13855,7 @@ type AccessibilityNode = {
export const devices: Devices;
//@ts-ignore this will be any if electron is not installed
type ElectronType = typeof import('electron');
type ElectronType = Electron.RemoteMainInterface;
/**
* Electron application representation. You can use