-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
auto-docs导致Taro下cloud namespace 导出失效 #5195
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
CC @ZakaryCode |
这个issue预计什么时候修复? |
已经修复但是没有发布版本,等待下一个版本吧 |
jiangzm
pushed a commit
to jiangzm/taro
that referenced
this issue
Dec 7, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
升级1.3.33后Taro的cloud导出失效(这个错误理应1.3.32也能看到)
复现步骤
升级taro依赖为1.3.33后vs code下使用ts书写

Taro.cloud
即可看到报错期望行为
cloud正确地在Taro下导出
报错信息
Property 'cloud' does not exist on type 'typeof Taro'.ts(2339)
补充信息
简单追查了一下应该是在这个commit引入的错误,将init等函数分到interface而不是namespace里,手动修改相关定义为namespace之后也确实消除了错误
The text was updated successfully, but these errors were encountered: