ts环境下老版本antd报错Namespace 'React' has no exported member ReactNodeArray

antd 若升级版本,可能会报错Namespace 'React' has no exported member ReactNodeArray

解决办法:@types/react" 也需要升级到最新版

原文地址:https://www.cnblogs.com/lyxverycool/p/9640691.html