We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
route
i18n
1 parent 360829c commit 0dd2f4dCopy full SHA for 0dd2f4d
src-vue/src/components/ThunderstoreModCard.vue
@@ -254,7 +254,6 @@ export default defineComponent({
254
this.isBeingUpdated = false;
255
this.$store.commit('loadInstalledMods');
256
});
257
- // @ts-ignore
258
})(this.$i18n.t);
259
260
},
src-vue/src/vuex-shim.d.ts
@@ -3,6 +3,8 @@ import { Store } from 'vuex'
3
4
declare module '@vue/runtime-core' {
5
interface ComponentCustomProperties {
6
+ $i18n: I18n;
7
+ $route: Route;
8
$store: Store<FlightCoreStore>,
9
$t: (key: string, ...params: any[]) => string;
10
}
0 commit comments