Partially prepare for eslint-plugin-flowtype 2.37.0

This commit is contained in:
Lyubo Marinov
2017-10-03 14:24:00 -05:00
parent 8f97da3265
commit 5561a9c031
10 changed files with 119 additions and 94 deletions

View File

@@ -1,3 +1,5 @@
// @flow
import * as JitsiMeetConferenceEvents from '../../ConferenceEvents';
import { parseJWTFromURLParams } from '../../react/features/jwt';
import { getJitsiMeetTransport } from '../transport';
@@ -207,7 +209,10 @@ class API {
* @param {Object} options - Object with the message properties.
* @returns {void}
*/
notifyReceivedChatMessage({ body, id, nick, ts } = {}) {
notifyReceivedChatMessage(
{ body, id, nick, ts }: {
body: *, id: string, nick: string, ts: *
} = {}) {
if (APP.conference.isLocalId(id)) {
return;
}