mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
13 lines
336 B
TypeScript
13 lines
336 B
TypeScript
import type { DiContainerForInjection } from "@ogre-tools/injectable";
|
|
|
|
export interface Feature {
|
|
id: string;
|
|
register: (di: DiContainerForInjection) => void;
|
|
dependencies?: Feature[];
|
|
}
|
|
|
|
export interface GetFeatureArgs extends Feature {}
|
|
|
|
export const getFeature = (getFeatureArgs: GetFeatureArgs): Feature =>
|
|
getFeatureArgs;
|