update comment on getApi

This commit is contained in:
Evan Simkowitz 2024-06-19 11:20:35 -07:00
parent bfa4bb259e
commit da20973fee
No known key found for this signature in database

View File

@ -222,6 +222,9 @@ waveobjUpdateSubject.subscribe((msg: WSEventType) => {
WOS.updateWaveObject(update);
});
/**
* Get the preload api.
*/
function getApi(): ElectronApi {
return (window as any).api;
}