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 },