Migrate conversations to ESLint

This commit is contained in:
Chris Svenningsen 2020-09-14 12:51:27 -07:00 committed by Josh Perez
parent b4f0f3c685
commit 372aa44e49
90 changed files with 1261 additions and 1165 deletions

View file

@ -19,7 +19,7 @@ export interface Props {
}
export class TypingBubble extends React.PureComponent<Props> {
public renderAvatar() {
public renderAvatar(): JSX.Element | null {
const {
avatarPath,
color,
@ -32,7 +32,7 @@ export class TypingBubble extends React.PureComponent<Props> {
} = this.props;
if (conversationType !== 'group') {
return;
return null;
}
return (
@ -52,7 +52,7 @@ export class TypingBubble extends React.PureComponent<Props> {
);
}
public render() {
public render(): JSX.Element {
const { i18n, color, conversationType } = this.props;
const isGroup = conversationType === 'group';