Lint rules and flow annotations for rest of the files

This commit is contained in:
Jori Lallo
2017-11-15 22:56:40 -08:00
parent c9b710cbee
commit 0441e92d08
36 changed files with 77 additions and 51 deletions

View File

@ -8,8 +8,8 @@ function present(ctx: Object, user: User) {
id: user.id,
username: user.username,
name: user.name,
avatarUrl: user.avatarUrl ||
(user.slackData ? user.slackData.image_192 : null),
avatarUrl:
user.avatarUrl || (user.slackData ? user.slackData.image_192 : null),
};
}