From ad5d4e8ef1eb39f7d5c425f7e8145a0c9b4ddffd Mon Sep 17 00:00:00 2001 From: Noam Kfir Date: Mon, 25 Jun 2018 08:51:02 +0300 Subject: [PATCH] Added locales method to Ii18n interface. --- types/vuex-i18n/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/vuex-i18n/index.d.ts b/types/vuex-i18n/index.d.ts index 30124209a1..00caa4863f 100644 --- a/types/vuex-i18n/index.d.ts +++ b/types/vuex-i18n/index.d.ts @@ -25,6 +25,9 @@ export interface Ii18n { /** get the current locale */ locale(): string; + /** get all the registered locales */ + locales(): string[]; + /** set the current locale (i.e. 'de', 'en') */ set(locale: string): void;