Shim sham fix the jam
This commit is contained in:
parent
ce949ba920
commit
e6502a3713
2 changed files with 21 additions and 21 deletions
19
resources/assets/scripts/pterodactyl-shims.d.ts
vendored
Normal file
19
resources/assets/scripts/pterodactyl-shims.d.ts
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
import Vue from "vue";
|
||||
import {Store} from "vuex";
|
||||
|
||||
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>,
|
||||
}
|
||||
}
|
23
resources/assets/scripts/vue-shims.d.ts
vendored
23
resources/assets/scripts/vue-shims.d.ts
vendored
|
@ -1,23 +1,4 @@
|
|||
import Vue, {ComponentOptions} from "vue";
|
||||
import {Store} from "vuex";
|
||||
|
||||
declare module '*.vue' {
|
||||
export default Vue;
|
||||
}
|
||||
|
||||
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>,
|
||||
}
|
||||
import Vue from 'vue'
|
||||
export default Vue
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue