TypeScript 类型转换:将 any 转换为具体类型 - Address 组件示例
export default function Address(props: { onChange?: (value: string) => void }) {
const { onChange, ...rest } = props;
const [area, setArea] = useState<Array
原文地址: https://www.cveoy.top/t/topic/lHSk 著作权归作者所有。请勿转载和采集!