/
githubmirror
/
halo
Обзор
Документация
Войти
/
githubmirror
/
halo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
ui/env.d.ts
43 строки
942 B
Ryan Wang
Migrate to vite-plus tooling (#8431)
23 мар 2026, 05:46
Не верифицирован
23 мар 2026, 05:46
a02609a
Код
Авторство
О чём код?
/// <reference types="vite-plus/client" /> /// <reference types="unplugin-icons/types/vue" /> export {}; import type { CoreMenuGroupId } from "@halo-dev/ui-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" { import type { Component } from "vue"; interface RouteMeta { title?: string; description?: string; searchable?: boolean; permissions?: | string[] | ((uiPermissions: string[]) => boolean | Promise<boolean>); core?: boolean; hideFooter?: boolean; menu?: { name: string; group?: CoreMenuGroupId; icon?: Component; priority: number; mobile?: boolean; }; } } declare module "axios" { export interface AxiosRequestConfig { mute?: boolean; } }