mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
update comment on getApi
This commit is contained in:
@@ -222,6 +222,9 @@ waveobjUpdateSubject.subscribe((msg: WSEventType) => {
|
||||
WOS.updateWaveObject(update);
|
||||
});
|
||||
|
||||
/**
|
||||
* Get the preload api.
|
||||
*/
|
||||
function getApi(): ElectronApi {
|
||||
return (window as any).api;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user