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

code clean

上级 21577ea8
......@@ -153,7 +153,7 @@ See more about:
* [Log](https://github.com/wechaty/wechaty/wiki/Log)
* [Debug](https://github.com/wechaty/wechaty/wiki/Debug)
# Release
# Release Notes
[Latest Release](https://github.com/wechaty/wechaty/releases/latest)(All releases [here](https://github.com/wechaty/wechaty/releases))
......
......@@ -131,6 +131,10 @@ function isWechatyDocker() {
/**
* 5. live setting
*/
function puppetInstance(): Puppet
function puppetInstance(empty: null): void
function puppetInstance(instance: Puppet): void
function puppetInstance(instance?: Puppet | null): Puppet | void {
if (instance !== undefined) {
if (instance) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册