我正在跟踪interactive choropleth tutorial from the docs,尝试将其移植到React和TypeScript。贴图使用美国每个州的预期颜色进行渲染,但是在将光标移动到多边形上时,mouseover事件从不触发。action: hovering over the map fires an event handler, but hovering over the polygons does not import React, { Component } from
我有一个git存储库,我应该使用命令react-scripts start启动它。当我运行这个命令时,我得到了这样的响应:无法找到typescript: react-scripts start
It looks like you're trying to use TypeScript我已经尝试过在命令提示符下使用npm I typescript、npm I -g typescript、yarn add typescr