zxj5470 / wxapp-intellij

WeChat App plugin is Compatible with IntelliJ IDEA Ultimate, PhpStorm, PyCharm Professional, Rider, RubyMine, WebStorm, AppCode, CLion, GoLand
GNU General Public License v3.0
89 stars 10 forks source link

wx.d.ts中fillRect函数的参数顺序有误,导致jb代码提示错误 #21

Closed josh-axy closed 4 years ago

josh-axy commented 4 years ago

wxapp-intellij/wx.d.ts v0.2.10版 第8312行,fillRect的参数顺序与微信文档定义正好相反,导致jb参数提示错误: 微信截图_20190914171417 错误提示: 微信截图_20190914171653 目前解决方案,手动修改index.d.ts,倒转函数参数顺序: 微信截图_20190914171916 调整后不再报错: 微信截图_20190914171838 希望可以在插件中修复这个问题~

zxj5470 commented 4 years ago

那么……应该就是wepy的锅了(滑稽 https://github.com/Tencent/wepy/blob/2.0.x/packages/core/types/wx/lib.wx.api.d.ts#L8299-L8308

josh-axy commented 4 years ago

那么……应该就是wepy的锅了(滑稽 https://github.com/Tencent/wepy/blob/2.0.x/packages/core/types/wx/lib.wx.api.d.ts#L8299-L8308

2333 快给他们提issue

josh-axy commented 4 years ago

已解决,锅是wepy的