env.d.ts
556 Bytes
/// <reference types="vite/client" />
declare module '*.vue' {
import {DefineComponent} from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>
export default component
}
/**
* 自定义类型申明
*/
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$filters: any,
$auth: AuthService,
$apiUrl: string,
$store: Store<any>,
$goBack: () => void,
axios: any,
}
}