2021-08-01 19:24:47 -08:00
|
|
|
import Vue from "vue";
|
2021-09-05 22:05:29 -08:00
|
|
|
import "@nuxt/types";
|
2021-10-03 14:07:18 -08:00
|
|
|
import { Icon } from "~/utils/icons/icon-type";
|
|
|
|
|
|
|
|
interface Globals {
|
|
|
|
icons: Icon;
|
|
|
|
}
|
2021-08-01 19:24:47 -08:00
|
|
|
|
|
|
|
declare module "vue/types/vue" {
|
2021-09-05 22:05:29 -08:00
|
|
|
interface Vue {
|
|
|
|
$globals: any;
|
|
|
|
}
|
2021-08-01 19:24:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
declare module "vue/types/options" {
|
2021-09-05 22:05:29 -08:00
|
|
|
interface ComponentOptions<V extends Vue> {
|
2021-10-03 14:07:18 -08:00
|
|
|
$globals?: Globals;
|
2021-09-05 22:05:29 -08:00
|
|
|
}
|
|
|
|
interface ComponentOptions<V extends UseContextReturn> {
|
2021-10-03 14:07:18 -08:00
|
|
|
$globals?: Globals;
|
2021-09-05 22:05:29 -08:00
|
|
|
}
|
2021-08-01 19:24:47 -08:00
|
|
|
}
|