mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
25 lines
551 B
TypeScript
25 lines
551 B
TypeScript
import { LoadingBarProviderInst, MessageProviderInst } from 'naive-ui'
|
|
import { useRoute } from 'vue-router'
|
|
|
|
declare module 'vue3-aplayer' {
|
|
const content: any
|
|
export = content
|
|
}
|
|
declare module 'file-saver' {
|
|
export function saveAs(blob: Blob | null | undefined, fileName: string): void
|
|
}
|
|
|
|
declare module '*.js' {
|
|
const content: any
|
|
export = content
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
$message: MessageProviderInst
|
|
$loadingBar: LoadingBarProviderInst
|
|
$route: ReturnType<typeof useRoute>
|
|
$mitt: Emitter<MittType>
|
|
}
|
|
}
|