Fix implicit any error for LocalProvider

This commit is contained in:
Wei Zhu 2017-11-21 19:03:42 +08:00
parent f14d57dc14
commit bcbdd12ce1

View File

@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
export interface LocaleReceiverProps {
componentName: string;
defaultLocale: object | Function;
children: (locale, localeCode?) => React.ReactElement<any>;
children: (locale: object, localeCode?: string) => React.ReactElement<any>;
}
export interface LocaleReceiverContext {