diff --git a/client/src/components/Grid/configs/types.ts b/client/src/components/Grid/configs/types.ts index d31228ed58f3..7954aaa72d31 100644 --- a/client/src/components/Grid/configs/types.ts +++ b/client/src/components/Grid/configs/types.ts @@ -1,9 +1,11 @@ +import type Router from "vue-router"; + import Filtering from "@/utils/filtering"; interface Action { title: string; icon?: string; - handler: (router: any) => void; + handler: (router: Router) => void; } type Field = FieldKey | FieldOperations; @@ -55,5 +57,5 @@ export interface Operation { title: string; icon: string; condition?: (data: RowData) => boolean; - handler: (data: RowData, router: any) => OperationHandlerReturn; + handler: (data: RowData, router: Router) => OperationHandlerReturn; } diff --git a/client/src/components/Grid/configs/visualizations.ts b/client/src/components/Grid/configs/visualizations.ts index d80eff289c81..d039b0de985c 100644 --- a/client/src/components/Grid/configs/visualizations.ts +++ b/client/src/components/Grid/configs/visualizations.ts @@ -7,6 +7,7 @@ import { getGalaxyInstance } from "@/app"; import Filtering, { contains, equals, expandNameTag, toBool, type ValidFilter } from "@/utils/filtering"; import { withPrefix } from "@/utils/redirect"; import { errorMessageAsString, rethrowSimple } from "@/utils/simple-error"; + import { type Config } from "./types"; /**