mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Introduce package for sharing eslint and prettier configurations Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> * Start using eslint and prettier in packages Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi> --------- Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
12 lines
334 B
TypeScript
12 lines
334 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;
|