aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/basicAuth
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/basicAuth')
-rw-r--r--src/features/basicAuth/index.ts (renamed from src/features/basicAuth/index.js)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/features/basicAuth/index.js b/src/features/basicAuth/index.ts
index e43d51d15..149ab6c19 100644
--- a/src/features/basicAuth/index.js
+++ b/src/features/basicAuth/index.ts
@@ -1,4 +1,4 @@
1import { ipcRenderer } from 'electron'; 1import { AuthInfo, BrowserWindow, ipcRenderer } from 'electron';
2 2
3import BasicAuthComponent from './Component'; 3import BasicAuthComponent from './Component';
4 4
@@ -11,7 +11,7 @@ const state = ModalState;
11export default function initialize() { 11export default function initialize() {
12 debug('Initialize basicAuth feature'); 12 debug('Initialize basicAuth feature');
13 13
14 window.ferdi.features.basicAuth = { 14 window['ferdi'].features.basicAuth = {
15 state, 15 state,
16 }; 16 };
17 17
@@ -23,7 +23,7 @@ export default function initialize() {
23 }); 23 });
24} 24}
25 25
26export function mainIpcHandler(mainWindow, authInfo) { 26export function mainIpcHandler(mainWindow: BrowserWindow, authInfo: AuthInfo) {
27 debug('Sending basic auth call', authInfo); 27 debug('Sending basic auth call', authInfo);
28 28
29 mainWindow.webContents.send('feature:basic-auth-request', { 29 mainWindow.webContents.send('feature:basic-auth-request', {