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

[Bug report] CherryEngine 内的 ts类型定义存在问题 #628

Closed
3 tasks
PDieE opened this issue Oct 26, 2023 · 1 comment
Closed
3 tasks

[Bug report] CherryEngine 内的 ts类型定义存在问题 #628

PDieE opened this issue Oct 26, 2023 · 1 comment
Labels
typescript typescript

Comments

@PDieE
Copy link

PDieE commented Oct 26, 2023

Describe the bug

image
image
按照上述方式使用 makeHtml 会爆类型“CherryEngine”上不存在属性“makeHtml”,但是实际上是能正常运行和解析的。
而且 CherryEngine 下的 engine 属性的类型是完整的 engine,但是用 CherryEngine.engine.makeHtml() 去使用会找不到方法。
是否是类型定义错误?

Reproduction

No response

System Info

No response

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Help us

None

@PDieE
Copy link
Author

PDieE commented Oct 26, 2023

image
是按照文档上的写法写的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript typescript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants