mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 20:19:35 +01:00
34 lines
718 B
TypeScript
34 lines
718 B
TypeScript
import { NuxtAxiosInstance } from '@nuxtjs/axios'
|
|
import VueI18n, {IVueI18n} from "vue-i18n";
|
|
import {ColorModeInstance} from "@nuxtjs/color-mode/types/color-mode";
|
|
import {NuxtApp} from "@nuxt/types/app";
|
|
|
|
declare module 'vue/types/vue' {
|
|
|
|
interface Vue {
|
|
$axios: NuxtAxiosInstance,
|
|
i18n: VueI18n & IVueI18n
|
|
}
|
|
}
|
|
declare module '@nuxt/types' {
|
|
|
|
interface NuxtAppOptions {
|
|
$axios: NuxtAxiosInstance,
|
|
i18n: VueI18n & IVueI18n
|
|
}
|
|
|
|
interface Context {
|
|
$axios: NuxtAxiosInstance,
|
|
i18n: VueI18n & IVueI18n
|
|
$colorMode: ColorModeInstance,
|
|
$app: NuxtApp
|
|
}
|
|
}
|
|
|
|
declare module 'vuex/types/index' {
|
|
interface Store<S> {
|
|
$axios: NuxtAxiosInstance,
|
|
i18n: VueI18n & IVueI18n
|
|
}
|
|
}
|