Skip to main content

Interface: ElectronBridgeContract

Defined in: src/services/utils/electronBridgeReadiness.ts:60

Contract describing the expected shape of a preload domain.

Propertiesโ€‹

domainโ€‹

readonly domain: ElectronBridgeDomain;

Defined in: src/services/utils/electronBridgeReadiness.ts:62

Domain name expected on window.electronAPI.


methods?โ€‹

readonly optional methods?: readonly string[];

Defined in: src/services/utils/electronBridgeReadiness.ts:64

Optional list of method names that must be exposed as functions.