From 223d9bcb01a72c0e7df74a571b48ed308f7e91db Mon Sep 17 00:00:00 2001 From: Cyril Schumacher Date: Thu, 14 Jan 2016 19:55:18 +0100 Subject: [PATCH] Fix error. --- i18next/i18next.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/i18next/i18next.d.ts b/i18next/i18next.d.ts index 9bd5aec50..c9a215953 100644 --- a/i18next/i18next.d.ts +++ b/i18next/i18next.d.ts @@ -31,8 +31,8 @@ interface I18nTranslateOptions extends I18nextOptions { } interface i18nextSprintfPostProcessorStatic { - overloadTranslationOptionHandler(args: Array): void; - process(value: any, key: string, options: Object): void; + overloadTranslationOptionHandler?(args: Array): void; + process?(value: any, key: string, options: Object): void; } interface I18nextOptions extends i18nextSprintfPostProcessorStatic { @@ -83,8 +83,6 @@ interface I18nextOptions extends i18nextSprintfPostProcessorStatic { // NOTE https://github.com/borisyankov/DefinitelyTyped/pull/5590 replace?: any; - - overloadTranslationOptionHandler: (args: Array) => void; } interface I18nextStatic {