Skip to main content

Interface: ElectronBridgeContract

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

Contract describing the expected shape of a preload domain.

Propertiesโ€‹

domainโ€‹

readonly domain: ElectronBridgeDomain

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

Domain name expected on window.electronAPI.


methods?โ€‹

readonly optional methods: readonly string[]

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

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