diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 4 |
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'; |
33 | import { ifUndefinedBoolean } from './jsUtils'; | 33 | import { ifUndefined } from './jsUtils'; |
34 | 34 | ||
35 | import { mainIpcHandler as basicAuthHandler } from './features/basicAuth'; | 35 | import { mainIpcHandler as basicAuthHandler } from './features/basicAuth'; |
36 | import ipcApi from './electron/ipc-api'; | 36 | import ipcApi from './electron/ipc-api'; |
@@ -91,7 +91,7 @@ const settings = new Settings('app', DEFAULT_APP_SETTINGS); | |||
91 | const proxySettings = new Settings('proxy'); | 91 | const proxySettings = new Settings('proxy'); |
92 | 92 | ||
93 | const retrieveSettingValue = (key: string, defaultValue: boolean) => | 93 | const retrieveSettingValue = (key: string, defaultValue: boolean) => |
94 | ifUndefinedBoolean(settings.get(key), defaultValue); | 94 | ifUndefined<boolean>(settings.get(key), defaultValue); |
95 | 95 | ||
96 | const liftSingleInstanceLock = retrieveSettingValue( | 96 | const liftSingleInstanceLock = retrieveSettingValue( |
97 | 'liftSingleInstanceLock', | 97 | 'liftSingleInstanceLock', |