TypeScript defintion file does not allow you to call just $.i18n.init(options) #89

rwhepburn opened this Issue Mar 22, 2013 · 2 comments


None yet

2 participants


I believe the TypeScript definately typed file i18next.d.ts is missing a definition to allow the blocking init(options); method to be called when the getAsync: false. Suggest that the following defintion is added to the TypeScript file to support the scenario where you want to just call init() from TypeScript and have it block until the resources are loaded:

init(options: I18nextOptions): void;


jamuhl commented Mar 23, 2013

isn't this defined in line 87:
init(options?: I18nextOptions, callback?: (t: (key: string, options?: any) => string) => void ): JQueryDeferred;

not sure...not using typescript at all - not a big fan of this stuff. Can you do a pull request?

jamuhl commented Apr 24, 2013

closing because no feedback

@jamuhl jamuhl closed this Apr 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment