specify return types to match superclass

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/8908/head
Michael Telatynski 2019-02-24 01:21:18 +00:00
parent 714570443d
commit 717495c4e0
1 changed files with 4 additions and 4 deletions

View File

@ -174,11 +174,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
return await this._ipcCall('getAppVersion'); return await this._ipcCall('getAppVersion');
} }
supportsAutoLaunch() { supportsAutoLaunch(): boolean {
return true; return true;
} }
async getAutoLaunchEnabled() { async getAutoLaunchEnabled(): boolean {
return await this._ipcCall('getAutoLaunchEnabled'); return await this._ipcCall('getAutoLaunchEnabled');
} }
@ -186,11 +186,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
return await this._ipcCall('setAutoLaunchEnabled', enabled); return await this._ipcCall('setAutoLaunchEnabled', enabled);
} }
supportsMinimizeToTray() { supportsMinimizeToTray(): boolean {
return true; return true;
} }
async getMinimizeToTrayEnabled() { async getMinimizeToTrayEnabled(): boolean {
return await this._ipcCall('getMinimizeToTrayEnabled'); return await this._ipcCall('getMinimizeToTrayEnabled');
} }