ref(TS) Improve TS (#13120)

Remove unnecessary @ts-ignore
Fix some TS errors
This commit is contained in:
Robert Pintilii
2023-03-29 10:16:54 +03:00
committed by GitHub
parent b942ce9378
commit 29945f4809
57 changed files with 122 additions and 155 deletions

View File

@@ -1,4 +1,3 @@
/* eslint-disable lines-around-comment */
import { Theme } from '@mui/material';
import React from 'react';
import { WithTranslation } from 'react-i18next';
@@ -6,7 +5,6 @@ import { makeStyles } from 'tss-react/mui';
import { translate } from '../../../../base/i18n/functions';
import { withPixelLineHeight } from '../../../../base/styles/functions.web';
// @ts-ignore
import { _formatConferenceIDPin } from '../../../_utils';
@@ -15,12 +13,12 @@ interface IProps extends WithTranslation {
/**
* The conference id.
*/
conferenceID?: string | number;
conferenceID?: string | number;
/**
* The conference name.
*/
conferenceName: string;
conferenceName: string;
}
const useStyles = makeStyles()((theme: Theme) => {