fix: Version tag should open new tab, related type improvements

closes #3737
This commit is contained in:
Tom Moor
2022-07-10 11:22:45 +02:00
parent aef62d1356
commit 465a8bd505
11 changed files with 27 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
import { Location } from "history";
import { Location, LocationDescriptor } from "history";
import { TFunction } from "react-i18next";
import RootStore from "~/stores/RootStore";
import Document from "~/models/Document";
@@ -40,7 +40,7 @@ export type MenuHeading = {
export type MenuInternalLink = {
type: "route";
title: React.ReactNode;
to: string;
to: LocationDescriptor;
visible?: boolean;
selected?: boolean;
disabled?: boolean;