mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
update comment on getApi
This commit is contained in:
parent
bfa4bb259e
commit
da20973fee
@ -222,6 +222,9 @@ waveobjUpdateSubject.subscribe((msg: WSEventType) => {
|
|||||||
WOS.updateWaveObject(update);
|
WOS.updateWaveObject(update);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the preload api.
|
||||||
|
*/
|
||||||
function getApi(): ElectronApi {
|
function getApi(): ElectronApi {
|
||||||
return (window as any).api;
|
return (window as any).api;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user