From 5cd54c107a4367d94a6df2d218037a0ea5e4db16 Mon Sep 17 00:00:00 2001 From: Noam Kfir Date: Sat, 30 Jun 2018 16:11:47 +0300 Subject: [PATCH] options is also optional in translateIn overload with defaultValue. --- 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 00caa4863f..e1f607ef39 100644 --- a/types/vuex-i18n/index.d.ts +++ b/types/vuex-i18n/index.d.ts @@ -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