1
0
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:
Sebastian Malton 2023-05-03 10:05:55 -04:00
parent 3175c96c38
commit 0696f466a8

View File

@ -7,8 +7,7 @@ import type { Injectable } from "@ogre-tools/injectable";
import { getInjectionToken } from "@ogre-tools/injectable";
import type { IComputedValue } from "mobx";
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type Injectables = Injectable<any, any, any>[];
export type Injectables = Injectable<unknown, unknown, void>[];
export type Registration = Injectables | IComputedValue<Injectables>;
export type ExtensionRegistrator = (extension: LegacyLensExtension) => Registration;