mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Finial fixups to fix build
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
10a316f4e5
commit
09881f2b56
8 files changed
+14
-14
No files matched your search
@@ -4,15 +4,15 @@
|
||||
*/
|
||||
import type { Injectable, Instantiate } from "@ogre-tools/injectable";
|
||||
|
||||
export interface GlobalOverride<Instance extends Token, Token, Param> {
|
||||
injectable: Injectable<Instance, Token, Param>;
|
||||
export interface GlobalOverride<Instance, Param> {
|
||||
injectable: Injectable<Instance, unknown, Param>;
|
||||
overridingInstantiate: Instantiate<Instance, Param>;
|
||||
}
|
||||
|
||||
export const getGlobalOverride = <Instance extends Token, Token, Param>(
|
||||
injectable: Injectable<Instance, Token, Param>,
|
||||
export const getGlobalOverride = <Instance, Param>(
|
||||
injectable: Injectable<Instance, unknown, Param>,
|
||||
overridingInstantiate: (typeof injectable)["instantiate"],
|
||||
) => ({
|
||||
injectable,
|
||||
overridingInstantiate,
|
||||
});
|
||||
injectable,
|
||||
overridingInstantiate,
|
||||
});
|
||||
Reference in new issue
Block a user