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:
parent
be325507cb
commit
47220bf1e0
2
packages/playwright-core/types/types.d.ts
vendored
2
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue