ff-admin/src/globalProperties.config.ts

16 lines
359 B
TypeScript
Raw Normal View History

2024-08-23 14:42:32 +02:00
import type { AxiosInstance } from "axios";
import type { NProgress } from "nprogress";
import type { Router } from "vue-router";
declare module "@vue/runtime-core" {
interface ComponentCustomProperties {
$dev: boolean;
$http: AxiosInstance;
$progress: NProgress;
$router: Router;
$route: any;
}
}
export {}; // Important! See note.