Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler

This commit is contained in:
paolo
2018-12-22 18:42:00 +01:00
parent 7198b07bb6
commit bd832d3f92
13 changed files with 1192 additions and 108 deletions

View File

@@ -17,9 +17,15 @@ const stateGetter = b.state()
// Getters
namespace Getters {
export const getters = {
}
const conta = b.read(function conta(state): number {
return state.conta
})
export const getters = {
get conta() {
return conta()
}
}
}
namespace Mutations {