options is also optional in translateIn overload with defaultValue.

This commit is contained in:
Noam Kfir
2018-06-30 16:11:47 +03:00
parent ad5d4e8ef1
commit 5cd54c107a
+1 -1
View File
@@ -73,7 +73,7 @@ export interface Ii18n {
/**
* get localized string from store in a given language if available.
*/
translateIn(locale: string, key: string, defaultValue: string, options: any, pluralization?: number): string | undefined;
translateIn(locale: string, key: string, defaultValue: string, options?: any, pluralization?: number): string | undefined;
/**
* check if the given locale translations are present in the store