mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-19 16:49:45 +08:00
fixed i18next compile error effected by jquery.d.ts
This commit is contained in:
6
i18next/i18next.d.ts
vendored
6
i18next/i18next.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user