mirror of https://github.com/halo-dev/halo-admin
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.
38 lines
726 B
38 lines
726 B
/// <reference types="vite/client" /> |
|
|
|
export {}; |
|
|
|
import type { CoreMenuGroupId } from "@halo-dev/console-shared"; |
|
|
|
import "vue-router"; |
|
|
|
import "axios"; |
|
|
|
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; |
|
}; |
|
} |
|
} |
|
|
|
declare module "axios" { |
|
export interface AxiosRequestConfig { |
|
mute?: boolean; |
|
} |
|
}
|
|
|