mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-06 03:57:49 +08:00
29 lines
543 B
TypeScript
29 lines
543 B
TypeScript
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
|
|
export {}
|
|
|
|
import 'vue-router'
|
|
|
|
import type { AppRouteMeta } from '@/router/types'
|
|
|
|
declare module 'vue-router' {
|
|
interface RouteMeta extends AppRouteMeta {}
|
|
}
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue'
|
|
|
|
const Component: DefineComponent<{}, {}, any>
|
|
export default Component
|
|
}
|
|
|
|
declare module 'virtual:*' {
|
|
const result: any
|
|
export default result
|
|
}
|
|
|
|
declare module '*.json' {
|
|
const jsonContent: Record<string, any>
|
|
export default jsonContent
|
|
}
|