Skip to main content

Interface: ElectronBridgeContract

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

Contract describing the expected shape of a preload domain.

Propertiesโ€‹

domainโ€‹

readonly domain: ElectronBridgeDomain

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

Domain name expected on window.electronAPI.


methods?โ€‹

readonly optional methods: readonly string[]

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

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