antvis/G6


The issue has been closed
[Bug]: drawShape typescript 声明错误 #6982
tclxshunquan-wang posted onGitHub
Describe the bug / 问题描述
drawShape 方法的声明要求返回一个IShape,但是参数cfg和group都有可能为 undefined,这样没办法保证 resultType 的正确
Reproduction link / 复现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
No response
Version / 版本
Please select / 请选择
OS / 操作系统
- macOS
- Windows
- Linux
- Others / 其他
Browser / 浏览器
- Chrome
- Edge
- Firefox
- Safari (Limited support / 有限支持)
- IE (Nonsupport / 不支持)
- Others / 其他