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

code clean for #88

上级 411d16de
......@@ -140,11 +140,11 @@ export class Room extends EventEmitter implements Sayable {
return this
}
public say(content: string): Promise<any> {
public say(content: string, replyTo: Contact): Promise<any> {
public say(content: string, replyTo: Contact[]): Promise<any> {
public say(content: string): Promise<any>
public say(content: string, replyTo: Contact): Promise<void>
public say(content: string, replyTo: Contact[]): Promise<void>
public say(content: string, replyTo?: Contact|Contact[]): Promise<any> {
public say(content: string, replyTo?: Contact|Contact[]): Promise<void> {
log.verbose('Room', 'say(%s, %s)'
, content
, Array.isArray(replyTo)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册