mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Harder linter fix
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
1bc4ee7e2e
commit
92fcff1fa2
@ -5,14 +5,14 @@
|
|||||||
import { pipeline } from "@ogre-tools/fp";
|
import { pipeline } from "@ogre-tools/fp";
|
||||||
import { getInjectable } from "@ogre-tools/injectable";
|
import { getInjectable } from "@ogre-tools/injectable";
|
||||||
import { map } from "lodash/fp";
|
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 type { LensRendererExtension } from "../../extensions/lens-renderer-extension";
|
||||||
import { clusterModalsInjectionToken } from "./cluster-modals-injection-token";
|
import { clusterModalsInjectionToken } from "./cluster-modals-injection-token";
|
||||||
|
|
||||||
const clusterModalsRegistratorInjectable = getInjectable({
|
const clusterModalsRegistratorInjectable = getInjectable({
|
||||||
id: "cluster-modals-registrator",
|
id: "cluster-modals-registrator",
|
||||||
|
|
||||||
instantiate: (di) => {
|
instantiate: (): ExtensionRegistrator => {
|
||||||
return (ext) => {
|
return (ext) => {
|
||||||
const extension = ext as LensRendererExtension;
|
const extension = ext as LensRendererExtension;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user