Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] 安装了@antv/gi-sdk之后,不能像docs官方测试项目里面一样引入使用。 #555

Open
liaodalin19903 opened this issue Oct 2, 2024 · 0 comments

Comments

@liaodalin19903
Copy link

比如在引用:type { Application } 的时候:

import type { Application } from '@antv/gi-sdk';

报错:

模块 ""@antv/gi-sdk"" 没有导出的成员 "Application"。你是想改用 "import Application from "@antv/gi-sdk"" 吗?ts(2614)

QQ_1727837713613

===

package.json:

  "dependencies": {
    "@antv/g6": "^5.0.25",
    "@antv/gi-sdk": "^2.4.23",
    "antd": "^5.21.2",
    "react": "^18.3.1",
    "react-dom": "^18.3.1"
  },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant