From ab240c8733b981288ebba86fc7a4eb27593a56e3 Mon Sep 17 00:00:00 2001 From: bgrieder Date: Thu, 22 Oct 2015 10:25:49 +0200 Subject: [PATCH] react-intl: more minor fixes for Travis build --- react-intl/react-intl-tests.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react-intl/react-intl-tests.tsx b/react-intl/react-intl-tests.tsx index 6a2d6a949..74575a0cb 100644 --- a/react-intl/react-intl-tests.tsx +++ b/react-intl/react-intl-tests.tsx @@ -4,6 +4,7 @@ /// /// +/// import * as React from 'react' @@ -79,7 +80,7 @@ class I18nDirect extends React.Component { if (this._currentLocale !== locale) { this._messages = Object.keys( MESSAGES ).reduce( - ( dic, key ) => { + ( dic: { [key: string]: string; }, key: string ) => { dic[ key ] = MESSAGES[ key ][ locale ] return dic },