Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFR] Replace I18nProvider function by object #3699

Merged
merged 3 commits into from
Sep 17, 2019
Merged

Conversation

fzaninotto
Copy link
Member

Refs #3686

export type I18nProvider = {
    translate: Translate;
    changeLocale: (locale: string, options?: any) => Promise<void>;
    [key: string]: any;
};

@fzaninotto fzaninotto added this to the 3.0.0 milestone Sep 16, 2019
@fzaninotto fzaninotto mentioned this pull request Sep 16, 2019
40 tasks
@djhi djhi merged commit 9ed77c8 into next Sep 17, 2019
@djhi djhi deleted the i18nProvider-object branch September 17, 2019 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants