mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 11:57:48 +00:00
ref(TS) Remove ts-ignores (#11979)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user