mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
Fix implicit any error for LocalProvider
This commit is contained in:
parent
f14d57dc14
commit
bcbdd12ce1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user