From 92fcff1fa2d1dbbcd07c07ac8f0739dedb8d4b53 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Mon, 24 Oct 2022 09:20:41 +0300 Subject: [PATCH] Harder linter fix Signed-off-by: Alex Andreev --- .../cluster-modals/cluster-modals-registrator.injectable.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/cluster-modals/cluster-modals-registrator.injectable.ts b/src/renderer/cluster-modals/cluster-modals-registrator.injectable.ts index 322296e349..a60fdda185 100644 --- a/src/renderer/cluster-modals/cluster-modals-registrator.injectable.ts +++ b/src/renderer/cluster-modals/cluster-modals-registrator.injectable.ts @@ -5,14 +5,14 @@ import { pipeline } from "@ogre-tools/fp"; import { getInjectable } from "@ogre-tools/injectable"; import { map } from "lodash/fp"; -import { extensionRegistratorInjectionToken } from "../../extensions/extension-loader/extension-registrator-injection-token"; +import { ExtensionRegistrator, extensionRegistratorInjectionToken } from "../../extensions/extension-loader/extension-registrator-injection-token"; import type { LensRendererExtension } from "../../extensions/lens-renderer-extension"; import { clusterModalsInjectionToken } from "./cluster-modals-injection-token"; const clusterModalsRegistratorInjectable = getInjectable({ id: "cluster-modals-registrator", - instantiate: (di) => { + instantiate: (): ExtensionRegistrator => { return (ext) => { const extension = ext as LensRendererExtension;