16 lines
359 B
TypeScript
16 lines
359 B
TypeScript
|
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.
|