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;