update signature for method "locale"

This commit is contained in:
barahliush
2018-10-28 19:31:36 +02:00
parent 7015d5fc5b
commit 9be14bb68c
+1 -1
View File
@@ -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[];