fix: Version tag should open new tab, related type improvements
closes #3737
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user