首页 > 解决方案 > TypeScript 错误:构建 React Native App 时出现 Ts 8006、Ts 8010?

问题描述

'import type' 声明只能在 TypeScript 文件中使用。类型注解只能在 TypeScript 文件中使用。类型注解只能在 TypeScript 文件中使用。

点击此处的“图片描述”

标签: react-nativereact-native-ios

解决方案


推荐阅读