Setting MultiLanguage using Typescript : adding i18n.d.ts for the compiler
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user