提交 8d67d6f5 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

try to fix js: `const Wechaty = require("wechaty")`

上级 4ea8a752
......@@ -32,3 +32,20 @@ export {
, log // for convenionce use npmlog with environment variable LEVEL
, VERSION
}
Object.assign(Wechaty, {
Config
, Contact
, FriendRequest
, IoClient
, Message
, Puppet
, PuppetWeb
, Room
, UtilLib
, Wechaty
, default: Wechaty
, log // for convenionce use npmlog with environment variable LEVEL
, VERSION
})
exports = Wechaty
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册