From 9be14bb68c2b862206317cb4bd7e867786cbb4a6 Mon Sep 17 00:00:00 2001 From: barahliush Date: Sun, 28 Oct 2018 19:31:36 +0200 Subject: [PATCH] update signature for method "locale" --- types/vuex-i18n/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vuex-i18n/index.d.ts b/types/vuex-i18n/index.d.ts index d2c5f60b08..8282b99c05 100644 --- a/types/vuex-i18n/index.d.ts +++ b/types/vuex-i18n/index.d.ts @@ -32,7 +32,7 @@ export interface Translations { export interface Ii18n { /** get the current locale */ - locale(): string; + locale(): string | null; /** get all the registered locales */ locales(): string[];