mealie/frontend/types/vue.d.ts
Hayden c0dd07f9e7
Feature/infinite scroll (#719)
* feat(frontend):  lazy-load all recipes page

* feat(frontend):  enable runtime theme through env-variables

* docs(docs): 📝 update v1 changelog

* bump version

Co-authored-by: Hayden <hay-kot@pm.me>
2021-10-03 14:07:18 -08:00

22 lines
409 B
TypeScript

import Vue from "vue";
import "@nuxt/types";
import { Icon } from "~/utils/icons/icon-type";
interface Globals {
icons: Icon;
}
declare module "vue/types/vue" {
interface Vue {
$globals: any;
}
}
declare module "vue/types/options" {
interface ComponentOptions<V extends Vue> {
$globals?: Globals;
}
interface ComponentOptions<V extends UseContextReturn> {
$globals?: Globals;
}
}