Skip to content

echarts-for-react报错 has no exported member 'ObjectMap'. #10

Description

@IdaKelly

在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,仍然没有运行啊。。。这是为什么呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions