getElectron
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / main/runtime/electronAccess / getElectron
Function: getElectron()
getElectron():
ElectronLike
Defined in: main/runtime/electronAccess.ts:43
Lazily resolves the Electron module, handling CJS/ESM interop and honoring test overrides.
Returnsβ
ElectronLike
Electron module reference or an empty object when unavailable.