Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(types): add i18nConfigObject
Browse files Browse the repository at this point in the history
feat(types): add i18nConfigObject
  • Loading branch information
Metnew committed Sep 17, 2017
1 parent 3904e56 commit c997f45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/common/types/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ export type RouteItem = {
tag?: React$Node | Function,
component?: React$Node | Function
}

export type i18nConfigObject = {
messages: Object,
localeData: Object,
locale: string,
lang?: string
}

0 comments on commit c997f45

Please sign in to comment.