mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
react-intl-redux: Add formats prop to IntlState (#40155)
* Add formats prop to IntlState The updateIntl opts parameter can have a formats prop which is missing in the interface. see https://github.com/ratson/react-intl-redux#formatting-data * Make IntlState formats prop optional
This commit is contained in:
committed by
Pranav Senthilnathan
parent
96ca1ec52c
commit
8dab4bcbc3
Vendored
+1
@@ -11,6 +11,7 @@ import { IntlProvider as ReactIntlProvider } from "react-intl"
|
||||
interface IntlState {
|
||||
locale: string
|
||||
messages: any
|
||||
formats?: any
|
||||
}
|
||||
|
||||
interface IntlAction extends Action {
|
||||
|
||||
Reference in New Issue
Block a user