Change flash mixin
This commit is contained in:
parent
96468ab4b3
commit
f7ba30fbbe
4 changed files with 59 additions and 64 deletions
|
@ -1,5 +1,6 @@
|
|||
import Vue from "vue";
|
||||
import {Store} from "vuex";
|
||||
import {FlashInterface} from "./mixins/flash";
|
||||
|
||||
declare module 'vue/types/options' {
|
||||
interface ComponentOptions<V extends Vue> {
|
||||
|
@ -15,5 +16,6 @@ declare module 'vue/types/options' {
|
|||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$store: Store<any>,
|
||||
$flash: FlashInterface
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue