1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix type errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-04-22 10:01:14 -04:00
parent 187850890a
commit b3cf868078
4 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ import drawerStorageInjectable, {
defaultDrawerWidth,
} from "./drawer-storage/drawer-storage.injectable";
import { withInjectables } from "@ogre-tools/injectable-react";
import historyInjectable from "../../navigation/history.injectable";
import historyInjectable from "../../navigation/history/history.injectable";
import type { History } from "history";
export type DrawerPosition = "top" | "left" | "right" | "bottom";

View File

@ -12,7 +12,7 @@ import { cssNames } from "../../utils";
import { CloseButton } from "./close-button";
import { getLegacyGlobalDiForExtensionApi } from "../../../extensions/as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api";
import navigateToCatalogInjectable from "../../../common/front-end-routing/routes/catalog/navigate-to-catalog.injectable";
import observableHistoryInjectable from "../../navigation/observable-history.injectable";
import observableHistoryInjectable from "../../navigation/history/observable.injectable";
export interface SettingLayoutProps extends React.DOMAttributes<any> {
className?: IClassName;

View File

@ -4,7 +4,7 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { computed } from "mobx";
import observableHistoryInjectable from "../navigation/observable-history.injectable";
import observableHistoryInjectable from "../navigation/history/observable.injectable";
const currentPathInjectable = getInjectable({
id: "current-path",

View File

@ -6,7 +6,7 @@ import { getInjectable, lifecycleEnum } from "@ogre-tools/injectable";
import { pipeline } from "@ogre-tools/fp";
import type { PageParamInit } from "../navigation";
import { PageParam } from "../navigation";
import observableHistoryInjectable from "../navigation/observable-history.injectable";
import observableHistoryInjectable from "../navigation/history/observable.injectable";
import type { LensRendererExtension } from "../../extensions/lens-renderer-extension";
import type { PageRegistration } from "../../extensions/registries";
import { fromPairs, map, toPairs } from "lodash/fp";