mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
27 lines
611 B
TypeScript
27 lines
611 B
TypeScript
|
|
import type { LoadingBarProviderInst, MessageProviderInst, ModalProviderInst } from 'naive-ui'
|
|
import type { 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>
|
|
$modal: ModalProviderInst
|
|
$mitt: Emitter<MittType>
|
|
}
|
|
}
|