反应 typescript - 元素隐式具有“任何”类型,因为使用国家标志图标时,“字符串”类型的表达式不能用于索引类型 - react typescript - Element implicitly has an 'any' type because expression of type 'string' can't be used to index type when using country-flag-icons
应用程序.tsx 个人.tsx 在行 , typescript 在这里抛出错误 有可能修复吗? 代码沙盒 https://codesandbox.io/s/react-typescript-forked-j05w6x?file=/src/Person.tsx ...