Please install typescript by running npm install typescript.我已经尝试过在命令提示符下使用npm I typescript、npm I -g typescript、yarn add typescript、yarn global add typescript和"chocotypescript“来安装typescript。我可以运行typescript
我们目前正在开发一个由React虚拟化和使用TypeScript驱动的表。我们从的实现开始。我们接受了这段代码,并开始根据我们的需要对其进行修改,我们注意到有两个道具它希望在@ type / are中没有定义--虚拟化类型定义。
key和onRowRightClick。因此,我们进一步研究了一下types.js,它与defaultRowRenderer.js位于同一个目录中,并且发现babelPluginFlowReactPropType