mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix type errors
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
d173e45177
commit
b96e115e17
4 files changed
+12
-11
No files matched your search
@@ -4,6 +4,7 @@
|
||||
*/
|
||||
import { getInjectable } from "@ogre-tools/injectable";
|
||||
import { beforeQuitOfBackEndInjectionToken } from "../start-main-application/runnable-tokens/before-quit-of-back-end-injection-token";
|
||||
import stopSettingUpLensProxyInjectable from "../start-main-application/runnables/lens-proxy/teardown.injectable";
|
||||
import lensProxyInjectable from "./lens-proxy.injectable";
|
||||
|
||||
const stopLensProxyOnQuitInjectable = getInjectable({
|
||||
@@ -13,9 +14,8 @@ const stopLensProxyOnQuitInjectable = getInjectable({
|
||||
|
||||
return {
|
||||
id: "stop-lens-proxy",
|
||||
run: () => {
|
||||
lensProxy.close();
|
||||
},
|
||||
run: () => void lensProxy.close(),
|
||||
runAfter: di.inject(stopSettingUpLensProxyInjectable),
|
||||
};
|
||||
},
|
||||
injectionToken: beforeQuitOfBackEndInjectionToken,
|
||||
|
||||
Reference in new issue
Block a user