Improve readability a little

This commit is contained in:
syuilo 2018-10-07 17:06:28 +09:00
parent 3e897727ca
commit 10af684804
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -182,6 +182,7 @@ export default class Connection {
/** /**
* *
* @param id ID
*/ */
@autobind @autobind
private disconnectChannel(id: string) { private disconnectChannel(id: string) {
@ -193,6 +194,10 @@ export default class Connection {
} }
} }
/**
*
* @param data
*/
@autobind @autobind
private onChannelMessageRequested(data: any) { private onChannelMessageRequested(data: any) {
const channel = this.channels.find(c => c.id === data.id); const channel = this.channels.find(c => c.id === data.id);