mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-05-03 16:26:45 +08:00
30 lines
603 B
TypeScript
30 lines
603 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
/// <reference types="vite/client" />
|
|
/// <reference types="vue/macros-global" />
|
|
/// <reference types="vite-svg-loader" />
|
|
|
|
import 'vue-router'
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue'
|
|
const component: DefineComponent<{}, {}, any>
|
|
export default component
|
|
}
|
|
|
|
declare module 'vue-router' {
|
|
interface RouteMeta {
|
|
i18nKey: string
|
|
icon?: string
|
|
}
|
|
}
|
|
|
|
declare module '*.json' {
|
|
const jsonValue: any
|
|
export default jsonValue
|
|
}
|
|
|
|
declare module 'virtual:*' {
|
|
const result: any
|
|
export default result
|
|
}
|