mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-21 00:14:44 +08:00
Fix type error
This commit is contained in:
parent
ca56828df7
commit
c7452f3a9d
@ -20,7 +20,7 @@ export interface Locale {
|
||||
|
||||
export interface LocaleProviderProps {
|
||||
locale: Locale;
|
||||
children?: React.ReactElement<any>;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
function setMomentLocale(locale: Locale) {
|
||||
|
Loading…
Reference in New Issue
Block a user