mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +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);
|
||||
});
|
||||
|
||||
/**
|
||||
* Get the preload api.
|
||||
*/
|
||||
function getApi(): ElectronApi {
|
||||
return (window as any).api;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user