1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2020-11-13 16:24:26 +02:00
parent 0f45f82a89
commit 7ab3622712
2 changed files with 5 additions and 5 deletions

View File

@ -41,5 +41,5 @@ export class PageMenuRegistry<T extends PageMenuRegistration> extends BaseRegist
}
}
export const globalPageMenuRegistry = new PageMenuRegistry<Omit<PageMenuRegistration, "subMenus">>();
export const clusterPageMenuRegistry = new PageMenuRegistry();
export const globalPageMenuRegistry = new PageMenuRegistry<PageMenuRegistration>();
export const clusterPageMenuRegistry = new PageMenuRegistry<PageMenuRegistration>();

View File

@ -5,7 +5,7 @@ import { action } from "mobx";
import { compile } from "path-to-regexp";
import { BaseRegistry } from "./base-registry";
import { LensExtension } from "../lens-extension"
import { PageMenuTarget } from "./page-menu-registry";
import type { PageMenuTarget } from "./page-menu-registry";
export interface PageRegistration {
id: string; // will be automatically prefixed with extension name
@ -50,5 +50,5 @@ export class PageRegistry<T extends PageRegistration> extends BaseRegistry<T> {
}
}
export const globalPageRegistry = new PageRegistry<Omit<PageRegistration, "subPages">>();
export const clusterPageRegistry = new PageRegistry();
export const globalPageRegistry = new PageRegistry<PageRegistration>();
export const clusterPageRegistry = new PageRegistry<PageRegistration>();