From 8dab4bcbc3a3d2689a209e36442a16e0caa7fb77 Mon Sep 17 00:00:00 2001 From: Stefan Oestreicher Date: Tue, 12 Nov 2019 00:58:25 +0100 Subject: [PATCH] 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 --- types/react-intl-redux/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-intl-redux/index.d.ts b/types/react-intl-redux/index.d.ts index bda90bd4e1..b3f490b258 100644 --- a/types/react-intl-redux/index.d.ts +++ b/types/react-intl-redux/index.d.ts @@ -11,6 +11,7 @@ import { IntlProvider as ReactIntlProvider } from "react-intl" interface IntlState { locale: string messages: any + formats?: any } interface IntlAction extends Action {