mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Fix type errors from legacy extension registrators
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
3175c96c38
commit
0696f466a8
@ -7,8 +7,7 @@ import type { Injectable } from "@ogre-tools/injectable";
|
|||||||
import { getInjectionToken } from "@ogre-tools/injectable";
|
import { getInjectionToken } from "@ogre-tools/injectable";
|
||||||
import type { IComputedValue } from "mobx";
|
import type { IComputedValue } from "mobx";
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
export type Injectables = Injectable<unknown, unknown, void>[];
|
||||||
export type Injectables = Injectable<any, any, any>[];
|
|
||||||
export type Registration = Injectables | IComputedValue<Injectables>;
|
export type Registration = Injectables | IComputedValue<Injectables>;
|
||||||
export type ExtensionRegistrator = (extension: LegacyLensExtension) => Registration;
|
export type ExtensionRegistrator = (extension: LegacyLensExtension) => Registration;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user