mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-08 01:53:34 +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 {
|
export interface LocaleReceiverProps {
|
||||||
componentName: string;
|
componentName: string;
|
||||||
defaultLocale: object | Function;
|
defaultLocale: object | Function;
|
||||||
children: (locale, localeCode?) => React.ReactElement<any>;
|
children: (locale: object, localeCode?: string) => React.ReactElement<any>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LocaleReceiverContext {
|
export interface LocaleReceiverContext {
|
||||||
|
Loading…
Reference in New Issue
Block a user