ref(TS) Remove ts-ignores (#11979)

This commit is contained in:
Robert Pintilii
2022-08-08 12:36:06 +03:00
committed by GitHub
parent 43578474a0
commit 8f5eabe1f2
16 changed files with 56 additions and 89 deletions

View File

@@ -1,11 +1,10 @@
/* eslint-disable import/order */
import React, { useCallback } from 'react';
import { WithTranslation } from 'react-i18next';
import { useSelector } from 'react-redux';
import { isMobileBrowser } from '../../../base/environment/utils';
// @ts-ignore
import { translate } from '../../../base/i18n';
import { translate } from '../../../base/i18n/functions';
import { IconArrowUp } from '../../../base/icons/svg/index';
import { connect } from '../../../base/redux/functions';
@@ -21,7 +20,7 @@ import RaiseHandButton from './RaiseHandButton';
import ReactionEmoji from './ReactionEmoji';
import ReactionsMenu from './ReactionsMenu';
type Props = {
interface Props extends WithTranslation {
/**
* Whether or not reactions are enabled.
@@ -62,13 +61,8 @@ type Props = {
/**
* The array of reactions to be displayed.
*/
reactionsQueue: Array<ReactionEmojiProps>,
/**
* Used for translation.
*/
t: Function
};
reactionsQueue: Array<ReactionEmojiProps>
}
/**
* Button used for the reactions menu.