mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix remaining type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
dbb9a0f5a8
commit
31a3369dd0
22 files changed
+121
-132
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ const enlistMessageChannelListenerInjectable = getInjectable({
|
||||
const ipcMain = di.inject(ipcMainInjectable);
|
||||
|
||||
return ({ channel, handler }) => {
|
||||
const nativeOnCallback = (nativeEvent: IpcMainEvent, message: unknown) => {
|
||||
const nativeOnCallback = (nativeEvent: IpcMainEvent, message: any) => {
|
||||
handler(message, { frameId: nativeEvent.frameId, processId: nativeEvent.processId });
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ const enlistMessageChannelListenerInjectable = getInjectable({
|
||||
const ipcRenderer = di.inject(ipcRendererInjectable);
|
||||
|
||||
return ({ channel, handler }) => {
|
||||
const nativeCallback = (event: IpcRendererEvent, message: unknown) => {
|
||||
const nativeCallback = (_: IpcRendererEvent, message: any) => {
|
||||
handler(message);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user