Fix type error

This commit is contained in:
ztplz 2018-11-06 21:02:35 +08:00 committed by 偏右
parent ca56828df7
commit c7452f3a9d

View File

@ -20,7 +20,7 @@ export interface Locale {
export interface LocaleProviderProps {
locale: Locale;
children?: React.ReactElement<any>;
children?: React.ReactNode;
}
function setMomentLocale(locale: Locale) {