You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
halo-admin/packages/shared/env.d.ts

30 lines
589 B

/// <reference types="vite/client" />
export {};
import type { CoreMenuGroupId } from "./src/types/menus";
declare module "*.vue" {
import type { DefineComponent } from "vue";
// eslint-disable-next-line
const component: DefineComponent<{}, {}, any>;
export default component;
}
declare module "vue-router" {
interface RouteMeta {
title?: string;
searchable?: boolean;
permissions?: string[];
core?: boolean;
menu?: {
name: string;
group?: CoreMenuGroupId;
icon?: Component;
priority: number;
mobile?: boolean;
};
}
}