在web文件夹下运行nmp start,报这个错误?
Module '"../../node_modules/echarts-for-react/lib"' has no exported member 'ObjectMap'. Did you mean to use 'import ObjectMap from "../../node_modules/echarts-for-react/lib"' instead? TS2614
网上搜了一下,对echarts-for-react的core.d.ts和index.d.ts更改,增加exports.ObjectMap=ObjectMap,仍然没有运行啊。。。这是为什么呢?
在web文件夹下运行nmp start,报这个错误?
Module '"../../node_modules/echarts-for-react/lib"' has no exported member 'ObjectMap'. Did you mean to use 'import ObjectMap from "../../node_modules/echarts-for-react/lib"' instead? TS2614
网上搜了一下,对echarts-for-react的core.d.ts和index.d.ts更改,增加exports.ObjectMap=ObjectMap,仍然没有运行啊。。。这是为什么呢?