Files
vtsuru.live/default.d.ts
2025-04-06 13:50:16 +08:00

28 lines
681 B
TypeScript

import type { LoadingBarProviderInst, MessageProviderInst, ModalProviderInst, NotificationProviderInst } 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>
$notification: NotificationProviderInst
}
}