Closed emeryao closed 8 years ago
I'm suspecting this and the we-app
should be under env
instead of global
.
How to you get access to the library when you write code? Through script tag?
@unional
For this one, yes, the jweixin library should be referenced in a script tag.
But for we-app
it is accessible globally just like the chrome
variable when developing a chrome extension
In that case this should remain in global
and we-app
should be in env
@unional Thanks for your correction. 👍 I'll fix that and make another PR 😆
Typings URL: https://github.com/Emeryao/typed-jweixin
Questions (for new typings):
index.js
<->index.d.ts
)?PS: WeChat (Chinese name Weixin) is a mobile social app mainly used in Mainland China, so the documentation is in Chinese.