Skip to content

Commit

Permalink
Merge pull request #4186 from WiXSL/patch-param-type
Browse files Browse the repository at this point in the history
Added missing type to parameter.
  • Loading branch information
ThieryMichel authored Jan 3, 2020
2 parents 1575247 + ec73cf5 commit e2b35db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-i18n-polyglot/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default (
// so we systematically return a Promise for the messages
// i18nProvider may return a Promise for language changes,
resolve(getMessages(newLocale as string))
).then(messages => {
).then((messages: Object) => {
locale = newLocale;
const newPolyglot = new Polyglot({
locale: newLocale,
Expand Down

0 comments on commit e2b35db

Please sign in to comment.