Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
webleaf committed Jan 7, 2019
1 parent 1d22b3e commit cebb9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -552,8 +552,8 @@ declare namespace i18next {
* @param options - Initial options.
* @param callback - will be called after all translations were loaded or with an error when failed (in case of using a backend).
*/
init(options: InitOptions, callback?: Callback): Promise<TranslationFunction>;
init(callback?: Callback): Promise<TranslationFunction>;
init(options: InitOptions, callback?: Callback): Promise<TranslationFunction>;

loadResources(callback?: (err: any) => void): void;

Expand Down

0 comments on commit cebb9e6

Please sign in to comment.