chore: Fix type errors from legacy extension registrators

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-06-01 09:17:42 -04:00
1 parent 3175c96c38
commit 0696f466a8
1 file changed
+1 -2
@@ -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;