aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
authorLibravatar Ricardo Cino <ricardo@cino.io>2022-06-23 18:10:39 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-23 16:10:39 +0000
commit6b2c2b8dfb86245a1747bf7977159f5129461863 (patch)
tree28944f62a962d8a658262ea902f8554d4419fa9e /src/index.ts
parentchore: featureStore and GlobalErrorStore JS => TS (diff)
downloadferdium-app-6b2c2b8dfb86245a1747bf7977159f5129461863.tar.gz
ferdium-app-6b2c2b8dfb86245a1747bf7977159f5129461863.tar.zst
ferdium-app-6b2c2b8dfb86245a1747bf7977159f5129461863.zip
chore: servicesStore + models into typescript (#344)
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index fa957bf10..0fccac6e9 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -30,7 +30,7 @@ import {
30 userDataRecipesPath, 30 userDataRecipesPath,
31 userDataPath, 31 userDataPath,
32} from './environment-remote'; 32} from './environment-remote';
33import { ifUndefinedBoolean } from './jsUtils'; 33import { ifUndefined } from './jsUtils';
34 34
35import { mainIpcHandler as basicAuthHandler } from './features/basicAuth'; 35import { mainIpcHandler as basicAuthHandler } from './features/basicAuth';
36import ipcApi from './electron/ipc-api'; 36import ipcApi from './electron/ipc-api';
@@ -91,7 +91,7 @@ const settings = new Settings('app', DEFAULT_APP_SETTINGS);
91const proxySettings = new Settings('proxy'); 91const proxySettings = new Settings('proxy');
92 92
93const retrieveSettingValue = (key: string, defaultValue: boolean) => 93const retrieveSettingValue = (key: string, defaultValue: boolean) =>
94 ifUndefinedBoolean(settings.get(key), defaultValue); 94 ifUndefined<boolean>(settings.get(key), defaultValue);
95 95
96const liftSingleInstanceLock = retrieveSettingValue( 96const liftSingleInstanceLock = retrieveSettingValue(
97 'liftSingleInstanceLock', 97 'liftSingleInstanceLock',