Skip to content
Permalink
Browse files

fix(ts): fix wrong type information

fixes wrong return type information of setup and i18nextReady methods

fixes issue #136 (comment)
  • Loading branch information...
zewa666 committed Aug 30, 2016
1 parent 6d9c4ae commit c86cd3f35359cbac505bcc0cea0d631e29df1070
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/i18n.js
@@ -24,7 +24,7 @@ export class I18N {
this.i18nextDefered.promise = new Promise((resolve) => this.i18nextDefered.resolve = resolve);
}

setup(options?): Promise<i18next.I18n> {
setup(options?): Promise<any> {
const defaultOptions = {
compatibilityAPI: 'v1',
compatibilityJSON: 'v1',
@@ -46,7 +46,7 @@ export class I18N {
return this.i18nextDefered.promise;
}

i18nextReady(): Promise<i18next.I18n> {
i18nextReady(): Promise<any> {
return this.i18nextDefered.promise;
}

0 comments on commit c86cd3f

Please sign in to comment.
You can’t perform that action at this time.