diff options
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 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { AuthInfo, BrowserWindow, ipcRenderer } from 'electron'; |
2 | 2 | ||
3 | import BasicAuthComponent from './Component'; | 3 | import BasicAuthComponent from './Component'; |
4 | 4 | ||
@@ -11,7 +11,7 @@ const state = ModalState; | |||
11 | export default function initialize() { | 11 | export 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 | ||
26 | export function mainIpcHandler(mainWindow, authInfo) { | 26 | export 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', { |