From 993f626638c8a72309dd0093c6297c1926fa2250 Mon Sep 17 00:00:00 2001 From: vvakame Date: Sun, 8 Sep 2013 23:22:00 +0900 Subject: [PATCH] fixed i18next compile error effected by jquery.d.ts --- i18next/i18next.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/i18next/i18next.d.ts b/i18next/i18next.d.ts index f9ea5fb423..b82456dd85 100644 --- a/i18next/i18next.d.ts +++ b/i18next/i18next.d.ts @@ -83,8 +83,8 @@ interface I18nextStatic { toLanguages(language: string): string[]; regexEscape(str: string): string; }; - init(callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred; - init(options?: I18nextOptions, callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred; + init(callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred; + init(options?: I18nextOptions, callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred; lng(): string; loadNamespace(namespace: string, callback?: () => void ): void; loadNamespaces(namespaces: string[], callback?: () => void ): void; @@ -124,4 +124,4 @@ interface JQuery { i18n: (options?: I18nextOptions) => void; } -declare var i18next: I18nextStatic; \ No newline at end of file +declare var i18next: I18nextStatic;