ff-admin/src/globalProperties.config.ts
2024-10-08 10:43:16 +02:00

13 lines
346 B
TypeScript

import type { AxiosInstance } from "axios";
import type { RouteLocationNormalizedLoaded, Router } from "vue-router";
declare module "@vue/runtime-core" {
interface ComponentCustomProperties {
$dev: boolean;
$http: AxiosInstance;
$router: Router;
$route: RouteLocationNormalizedLoaded;
}
}
export {}; // Important! See note.