Ren*_*soo 6 typescript definitelytyped react-native
我正在使用react-native 0.59.9(0.60.x由于外部阻止程序,还不能升级到)。
但@types/react-native唯一提供的类型定义高达0.57.65(如 npm 中所列)。从那时起,版本直接跳转到0.60.x. 中的第一行index.d.ts还告诉我中的类型@types/react-native 0.57.65仅支持0.57版本:
// Type definitions for react-native 0.57
Run Code Online (Sandbox Code Playgroud)
@types/react-native 0.57.65到目前为止,我实际上一直在使用react-native 0.59. 但是现在我遇到了一些问题,我开始怀疑这种组合是否应该起作用。
我正在思考的问题:
0.58和0.59发布@types/react-native?react-native 0.59for 类型时是否应该出现问题0.57?0.60?| 归档时间: |
|
| 查看次数: |
246 次 |
| 最近记录: |