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

new Sayable

上级 fe78a2ac
......@@ -149,6 +149,7 @@ export class Wechaty extends EventEmitter implements Sayable {
public readonly state : StateSwitch
private readonly readyState : StateSwitch
public readonly wechaty : Wechaty
/**
* singleton globalInstance
......@@ -292,6 +293,8 @@ export class Wechaty extends EventEmitter implements Sayable {
this.state = new StateSwitch('Wechaty', { log })
this.readyState = new StateSwitch('WechatyReady', { log })
this.wechaty = this
/**
* @ignore
* Clone Classes for this bot and attach the `puppet` to the Class
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册