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

Closed
liaodalin19903 opened this issue Oct 2, 2024 · 3 comments

Comments

@liaodalin19903
Copy link
Contributor

比如在引用: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"
  },
@hustcc
Copy link
Member

hustcc commented Dec 4, 2024

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

这个用法是从哪里看的?

@liaodalin19903
Copy link
Contributor Author

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

这里, 可能版本改变了。

@yvonneyx
Copy link
Contributor

yvonneyx commented Dec 5, 2024

3.0.0 正式版本已发布,欢迎使用 ❤️

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

3 participants