MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / getApi

Function getApi

frontend/util/getenv.ts:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10}
11
12function getApi(): ElectronApi {
13 return (window as any).api;
14}
15
16/**
17 * Gets an environment variable from the host process, either directly or via IPC if called from the browser.

Callers 1

getEnvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected