fixed i18next compile error effected by jquery.d.ts

This commit is contained in:
vvakame
2013-09-08 23:22:00 +09:00
parent 685e52414a
commit 993f626638

View File

@@ -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<any>;
init(options?: I18nextOptions, callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred<any>;
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;
declare var i18next: I18nextStatic;