Fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-01-10 15:18:11 -05:00
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,