misc_pterodactyl-panel/resources/assets/scripts/pterodactyl-shims.d.ts

22 lines
462 B
TypeScript
Raw Normal View History

2018-12-30 00:34:22 +00:00
import Vue from "vue";
import {Store} from "vuex";
2018-12-30 03:24:09 +00:00
import {FlashInterface} from "./mixins/flash";
2018-12-30 00:34:22 +00:00
declare module 'vue/types/options' {
interface ComponentOptions<V extends Vue> {
$store?: Store<any>,
$options?: {
sockets?: {
[s: string]: (data: any) => void,
}
},
}
}
declare module 'vue/types/vue' {
interface Vue {
$store: Store<any>,
2018-12-30 03:24:09 +00:00
$flash: FlashInterface
2018-12-30 00:34:22 +00:00
}
}